Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001694, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 94.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2892/0.2892, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1231, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003057/0.1262, allocations: 1.508 MB / 491.7 MB, free: 7.816 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1283, allocations: 0.8124 MB / 492.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1285, allocations: 7.938 kB / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.1291, allocations: 147.6 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.1295, allocations: 115.8 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.1302, allocations: 123.7 kB / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.1306, allocations: 143.7 kB / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1307, allocations: 21.55 kB / 493.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1309, allocations: 87.66 kB / 493.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1311, allocations: 95.66 kB / 493.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.1312, allocations: 7.938 kB / 493.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.1314, allocations: 27.94 kB / 493.3 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.1315, allocations: 47.81 kB / 493.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.1316, allocations: 57.58 kB / 493.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.1319, allocations: 140 kB / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1319, allocations: 0 / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1319, allocations: 0 / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.1319, allocations: 0 / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009321/0.1328, allocations: 498.2 kB / 494 MB, free: 5.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1329, allocations: 12.02 kB / 494 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.133, allocations: 31.67 kB / 494.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.1335, allocations: 250.6 kB / 494.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1335, allocations: 0 / 494.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.1335, allocations: 8 kB / 494.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.1339, allocations: 95.3 kB / 494.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1339, allocations: 3.906 kB / 494.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.1339, allocations: 4 kB / 494.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.134, allocations: 4 kB / 494.4 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.1342, allocations: 43.92 kB / 494.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.1349, allocations: 440.9 kB / 494.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.1354, allocations: 121.4 kB / 495 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.1354, allocations: 0 / 495 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.1358, allocations: 113.1 kB / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.1358, allocations: 4 kB / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001434/0.1373, allocations: 368.4 kB / 495.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.1374, allocations: 81.11 kB / 495.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.1379, allocations: 354.9 kB / 495.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.138, allocations: 29.7 kB / 496 MB, free: 3.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1382, allocations: 186.8 kB / 496.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.1383, allocations: 47.36 kB / 496.2 MB, free: 3.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.1383, allocations: 4 kB / 496.2 MB, free: 3.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1385, allocations: 326.8 kB / 496.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.1386, allocations: 35.98 kB / 496.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.1389, allocations: 75.3 kB / 496.6 MB, free: 2.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.1391, allocations: 40 kB / 496.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1391, allocations: 0 / 496.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005273/0.1396, allocations: 165.5 kB / 496.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1396, allocations: 4 kB / 496.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1397, allocations: 0 / 496.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1397, allocations: 4 kB / 496.8 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.14, allocations: 35.92 kB / 496.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.14, allocations: 4 kB / 496.9 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.1402, allocations: 11.92 kB / 496.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1402, allocations: 8 kB / 496.9 MB, free: 2.391 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.1404, allocations: 157.8 kB / 497 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.1405, allocations: 27.7 kB / 497.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1406, allocations: 29.73 kB / 497.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.1407, allocations: 4 kB / 497.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.1407, allocations: 0 / 497.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1407, allocations: 0 / 497.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.142, allocations: 0.6163 MB / 497.7 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.142, allocations: 3.938 kB / 497.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1422, allocations: 23.98 kB / 497.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.1422, allocations: 0 / 497.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.1422, allocations: 4 kB / 497.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1422, allocations: 0 / 497.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/0.1423, allocations: 4 kB / 497.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.143, allocations: 400.8 kB / 498.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1431, allocations: 100.8 kB / 498.2 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.1432, allocations: 11.95 kB / 498.2 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.1434, allocations: 15.98 kB / 498.3 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.1435, allocations: 11.98 kB / 498.3 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.1435, allocations: 4 kB / 498.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004129/0.144, allocations: 265.9 kB / 498.5 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.144, allocations: 0 / 498.5 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004899/0.1445, allocations: 39.98 kB / 498.6 MB, free: 0.5625 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/0.146, allocations: 481.7 kB / 499 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.1465, allocations: 111.9 kB / 499.2 MB, free: 36 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1465, allocations: 0 / 499.2 MB, free: 36 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.1468, allocations: 60.22 kB / 499.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.1474, allocations: 52.72 kB / 499.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1486, allocations: 0.4913 MB / 499.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.1491, allocations: 0.7557 MB / 0.4888 GB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1492, allocations: 23.44 kB / 0.4888 GB, free: 14.58 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1492, allocations: 0 / 0.4888 GB, free: 14.58 MB / 346.7 MB Notification: Performance of Templates: time 0.008487/0.1577, allocations: 3.073 MB / 0.4918 GB, free: 11.51 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches