Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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 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 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 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.Test79,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_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.00103, allocations: 96.98 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 176.8 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3556/0.3556, allocations: 43.54 MB / 314.5 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004724, allocations: 16 kB / 383.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002013/0.1173, allocations: 1.516 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1185, allocations: 0.8163 MB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1186, allocations: 0 / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.119, allocations: 203.5 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.1193, allocations: 151.6 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1196, allocations: 131.7 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.1198, allocations: 147.7 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.1199, allocations: 29.52 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1201, allocations: 99.66 kB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1202, allocations: 111.6 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1202, allocations: 4 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.1203, allocations: 31.92 kB / 446 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1204, allocations: 55.81 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.1204, allocations: 49.58 kB / 446.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1206, allocations: 152 kB / 446.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.1206, allocations: 0 / 446.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1206, allocations: 0 / 446.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1206, allocations: 0 / 446.2 MB, free: 9.562 MB / 382.1 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.0005881/0.1212, allocations: 0.5213 MB / 446.7 MB, free: 8.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1213, allocations: 12.02 kB / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.1213, allocations: 23.72 kB / 446.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1216, allocations: 271 kB / 447 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1216, allocations: 8 kB / 447.1 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1217, allocations: 4 kB / 447.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1219, allocations: 103.3 kB / 447.2 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1219, allocations: 4 kB / 447.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1219, allocations: 3.953 kB / 447.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1219, allocations: 0 / 447.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.122, allocations: 35.97 kB / 447.2 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.1225, allocations: 445 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1228, allocations: 117.4 kB / 447.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1228, allocations: 0 / 447.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.1231, allocations: 125 kB / 447.9 MB, free: 7.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.1231, allocations: 0 / 447.9 MB, free: 7.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007821/0.1239, allocations: 363.9 kB / 448.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1239, allocations: 81.11 kB / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.1243, allocations: 428.5 kB / 448.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1244, allocations: 29.7 kB / 448.8 MB, free: 6.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.1245, allocations: 160.3 kB / 448.9 MB, free: 6.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.1245, allocations: 47.3 kB / 449 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.1245, allocations: 4 kB / 449 MB, free: 6.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1246, allocations: 342.8 kB / 449.3 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.1247, allocations: 39.97 kB / 449.3 MB, free: 6.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1248, allocations: 71.38 kB / 449.4 MB, free: 6.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.998e-05/0.1249, allocations: 56.12 kB / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.125, allocations: 0 / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000281/0.1252, allocations: 177.3 kB / 449.6 MB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1253, allocations: 4 kB / 449.6 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1253, allocations: 0 / 449.6 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1253, allocations: 4 kB / 449.6 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1254, allocations: 31.92 kB / 449.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1254, allocations: 4 kB / 449.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.1255, allocations: 12.06 kB / 449.7 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1255, allocations: 7.984 kB / 449.7 MB, free: 5.828 MB / 382.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 ($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.000132/0.1257, allocations: 165.7 kB / 449.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1257, allocations: 31.61 kB / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.1258, allocations: 38.61 kB / 449.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1258, allocations: 4 kB / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1258, allocations: 0 / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1258, allocations: 0.75 kB / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006594/0.1265, allocations: 0.6319 MB / 450.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1265, allocations: 3.938 kB / 450.6 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.1266, allocations: 16 kB / 450.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1266, allocations: 0 / 450.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1266, allocations: 15.98 kB / 450.6 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1266, allocations: 4 kB / 450.6 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1266, allocations: 4.062 kB / 450.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.127, allocations: 405.1 kB / 451 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.1271, allocations: 104.8 kB / 451.1 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.1271, allocations: 8 kB / 451.1 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1273, allocations: 4 kB / 451.1 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1273, allocations: 15.97 kB / 451.1 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1273, allocations: 8 kB / 451.1 MB, free: 4.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002694/0.1276, allocations: 319 kB / 451.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1276, allocations: 0 / 451.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.1279, allocations: 44 kB / 451.5 MB, free: 3.895 MB / 382.1 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.0009517/0.1289, allocations: 474.7 kB / 452 MB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.1291, allocations: 112 kB / 452.1 MB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1291, allocations: 0 / 452.1 MB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1293, allocations: 63.91 kB / 452.1 MB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1296, allocations: 56.94 kB / 452.2 MB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.1303, allocations: 0.5172 MB / 452.7 MB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1306, allocations: 0.7674 MB / 453.5 MB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.833e-05/0.1307, allocations: 38.34 kB / 453.5 MB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.1307, allocations: 23.42 kB / 453.5 MB, free: 1.832 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1307, allocations: 0 / 453.5 MB, free: 1.832 MB / 382.1 MB Notification: Performance of Templates: time 0.1703/0.301, allocations: 2.489 MB / 456 MB, free: 46.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches