Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008577, allocations: 89.42 kB / 18 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.001061/0.001061, allocations: 176.6 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.412/1.412, allocations: 223.3 MB / 242.9 MB, free: 24 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.2098/0.2098, allocations: 44.25 MB / 338.3 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 15.98 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002201/0.119, allocations: 1.589 MB / 474.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1206, allocations: 0.9551 MB / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1207, allocations: 7.938 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.1211, allocations: 239.5 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.1215, allocations: 167.5 kB / 475.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.122, allocations: 171.2 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.1223, allocations: 239.3 kB / 476.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1224, allocations: 33.64 kB / 476.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1226, allocations: 111.5 kB / 476.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.1228, allocations: 179.5 kB / 476.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1229, allocations: 7.938 kB / 476.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.123, allocations: 59.97 kB / 476.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.1231, allocations: 63.75 kB / 476.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.951e-05/0.1232, allocations: 109 kB / 476.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1234, allocations: 175.9 kB / 477 MB, free: 9.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1235, allocations: 0 / 477 MB, free: 9.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1235, allocations: 0 / 477 MB, free: 9.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1235, allocations: 0 / 477 MB, free: 9.238 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006476/0.1241, allocations: 0.5409 MB / 477.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1242, allocations: 8.031 kB / 477.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.1242, allocations: 32.55 kB / 477.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.1246, allocations: 280.1 kB / 477.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1246, allocations: 8.312 kB / 477.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.1246, allocations: 16.11 kB / 477.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1249, allocations: 107.4 kB / 478 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1249, allocations: 3.906 kB / 478 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1249, allocations: 3.984 kB / 478 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1249, allocations: 4 kB / 478 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.125, allocations: 47.91 kB / 478 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.1256, allocations: 480.8 kB / 478.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.126, allocations: 121.2 kB / 478.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.1261, allocations: 45.83 kB / 478.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1261, allocations: 7.984 kB / 478.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.1264, allocations: 117 kB / 478.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1264, allocations: 0 / 478.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001308/0.1277, allocations: 0.5003 MB / 479.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.1278, allocations: 85.09 kB / 479.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.1283, allocations: 481.7 kB / 479.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1283, allocations: 29.7 kB / 479.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1284, allocations: 160.5 kB / 480 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.1285, allocations: 74.98 kB / 480.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1285, allocations: 25.72 kB / 480.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1287, allocations: 346.8 kB / 480.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1288, allocations: 59.97 kB / 480.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.129, allocations: 95.28 kB / 480.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.1292, allocations: 159.5 kB / 480.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1292, allocations: 0 / 480.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003897/0.1296, allocations: 241.1 kB / 481 MB, free: 4.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1297, allocations: 7.938 kB / 481 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1297, allocations: 0 / 481 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1297, allocations: 4 kB / 481 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1298, allocations: 43.91 kB / 481.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1299, allocations: 4 kB / 481.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.693e-05/0.13, allocations: 8 kB / 481.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.13, allocations: 8 kB / 481.1 MB, free: 4.863 MB / 350.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001774/0.1302, allocations: 194.2 kB / 481.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.1302, allocations: 31.56 kB / 481.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.1303, allocations: 42.81 kB / 481.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1303, allocations: 4 kB / 481.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1303, allocations: 0 / 481.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1303, allocations: 3.938 kB / 481.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009242/0.1313, allocations: 0.7388 MB / 482.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1313, allocations: 0 / 482.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.1314, allocations: 27.98 kB / 482.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1314, allocations: 4 kB / 482.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1314, allocations: 8 kB / 482.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1314, allocations: 0 / 482.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.1314, allocations: 11.92 kB / 482.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.1319, allocations: 417.8 kB / 482.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.132, allocations: 112.7 kB / 482.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.1321, allocations: 15.94 kB / 482.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1322, allocations: 11.98 kB / 482.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.1323, allocations: 23.86 kB / 482.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.1323, allocations: 15.98 kB / 482.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000333/0.1326, allocations: 359.1 kB / 483.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1326, allocations: 0 / 483.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.133, allocations: 51.98 kB / 483.1 MB, free: 2.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0012/0.1342, allocations: 0.5092 MB / 483.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.1346, allocations: 153.3 kB / 483.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1346, allocations: 7.938 kB / 483.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1347, allocations: 79.89 kB / 483.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.1353, allocations: 66.06 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1364, allocations: 0.7007 MB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1367, allocations: 0.7794 MB / 485.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.1368, allocations: 31.42 kB / 485.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1368, allocations: 0 / 485.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of Templates: time 0.006965/0.1438, allocations: 3.714 MB / 489.2 MB, free: 12.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches