Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007834/0.0007836, allocations: 98.47 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008212/0.0008213, allocations: 176.9 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 243 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.201/0.201, allocations: 44.25 MB / 338.3 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003318, allocations: 13.19 kB / 411 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 61.93 MB / 472.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002302/0.1201, allocations: 1.417 MB / 474.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1218, allocations: 0.8382 MB / 475.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.122, allocations: 4 kB / 475.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.1224, allocations: 39.89 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.1228, allocations: 47.83 kB / 475.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1232, allocations: 98.62 kB / 475.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1234, allocations: 95.64 kB / 475.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1235, allocations: 8.219 kB / 475.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1236, allocations: 39.78 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.1237, allocations: 31.84 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1238, allocations: 4 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1239, allocations: 43.92 kB / 475.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.124, allocations: 19.92 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.1241, allocations: 61.44 kB / 475.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1243, allocations: 84.09 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1243, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1243, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1243, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006097/0.1249, allocations: 405.3 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.125, allocations: 12.03 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.1251, allocations: 12.75 kB / 476.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1253, allocations: 212.7 kB / 476.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1253, allocations: 4.375 kB / 476.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.1254, allocations: 8.125 kB / 476.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1255, allocations: 53.67 kB / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1256, allocations: 0 / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1256, allocations: 4 kB / 476.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1256, allocations: 4 kB / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.1257, allocations: 19.98 kB / 476.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.1261, allocations: 284.9 kB / 476.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1263, allocations: 58.61 kB / 476.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.1263, allocations: 24.84 kB / 476.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1264, allocations: 4 kB / 476.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.1266, allocations: 71.3 kB / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1266, allocations: 0 / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005667/0.1271, allocations: 181.1 kB / 477.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.1272, allocations: 51.41 kB / 477.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1274, allocations: 195.3 kB / 477.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1274, allocations: 29.7 kB / 477.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.1275, allocations: 108.1 kB / 477.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.1275, allocations: 23.66 kB / 477.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.1276, allocations: 9.719 kB / 477.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1277, allocations: 330.8 kB / 477.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.017e-05/0.1278, allocations: 19.98 kB / 477.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.1279, allocations: 37.64 kB / 477.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.128, allocations: 65.7 kB / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.128, allocations: 0 / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.1282, allocations: 97.52 kB / 478 MB, free: 8.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1283, allocations: 10.5 kB / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1283, allocations: 4.094 kB / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1283, allocations: 0 / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1284, allocations: 15.98 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.1284, allocations: 11.92 kB / 478.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.1285, allocations: 7.938 kB / 478.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1285, allocations: 8.031 kB / 478.1 MB, free: 7.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.1286, allocations: 129.8 kB / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1287, allocations: 11.81 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.1287, allocations: 17.39 kB / 478.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1287, allocations: 4 kB / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1287, allocations: 0 / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1287, allocations: 3.938 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.1292, allocations: 391.3 kB / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1292, allocations: 0 / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.1293, allocations: 8 kB / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1293, allocations: 0 / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1293, allocations: 8.297 kB / 478.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1293, allocations: 4 kB / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1293, allocations: 4 kB / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1296, allocations: 212.2 kB / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.1296, allocations: 89 kB / 478.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.1297, allocations: 7.922 kB / 478.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.1298, allocations: 8 kB / 479 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.1298, allocations: 4 kB / 479 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1298, allocations: 3.984 kB / 479 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1299, allocations: 148.9 kB / 479.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.13, allocations: 0 / 479.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1302, allocations: 31.98 kB / 479.1 MB, free: 6.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.1314, allocations: 469 kB / 479.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1316, allocations: 67.91 kB / 479.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1316, allocations: 0 / 479.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.1317, allocations: 23.94 kB / 479.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1321, allocations: 27.97 kB / 479.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.1326, allocations: 284.2 kB / 480 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.133, allocations: 0.7082 MB / 480.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.133, allocations: 15.44 kB / 480.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.133, allocations: 0 / 480.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004223/0.1373, allocations: 1.902 MB / 482.6 MB, free: 3.422 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches