Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001724/0.001724, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.345/1.345, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.77 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1142, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003295/0.1175, allocations: 1.878 MB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1192, allocations: 0.9821 MB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.805e-05/0.1193, allocations: 4 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.1197, allocations: 159.5 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.1201, allocations: 139.5 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1205, allocations: 178.9 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.1208, allocations: 227.3 kB / 474.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1209, allocations: 33.66 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1211, allocations: 111.5 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1212, allocations: 123.6 kB / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1213, allocations: 8 kB / 474.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1214, allocations: 59.97 kB / 474.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.1215, allocations: 51.78 kB / 474.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.1216, allocations: 79.41 kB / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1219, allocations: 219.3 kB / 474.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1219, allocations: 0 / 474.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1219, allocations: 3.938 kB / 474.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1219, allocations: 3.938 kB / 474.9 MB, free: 9.375 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.0006757/0.1226, allocations: 0.5255 MB / 475.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1227, allocations: 8.031 kB / 475.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.1227, allocations: 24.66 kB / 475.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1231, allocations: 271.5 kB / 475.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1231, allocations: 8.375 kB / 475.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.1231, allocations: 20.11 kB / 475.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.1234, allocations: 106.2 kB / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1234, allocations: 0 / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1234, allocations: 7.984 kB / 475.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1234, allocations: 4 kB / 475.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1236, allocations: 47.91 kB / 476 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.1242, allocations: 468.8 kB / 476.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.1246, allocations: 117.2 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.1247, allocations: 49.81 kB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1247, allocations: 0 / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.1249, allocations: 117 kB / 476.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1249, allocations: 0 / 476.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001321/0.1263, allocations: 493 kB / 477.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.1263, allocations: 81.11 kB / 477.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.1266, allocations: 351 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1267, allocations: 33.7 kB / 477.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.1268, allocations: 144.5 kB / 477.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.1269, allocations: 71.08 kB / 477.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.1269, allocations: 41.7 kB / 477.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1271, allocations: 342.8 kB / 478.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1272, allocations: 59.97 kB / 478.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1273, allocations: 95.28 kB / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.1276, allocations: 163.3 kB / 478.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1276, allocations: 0 / 478.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003691/0.128, allocations: 229.1 kB / 478.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.128, allocations: 15.38 kB / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.128, allocations: 240 / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.128, allocations: 0 / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1282, allocations: 47.91 kB / 478.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1282, allocations: 7.984 kB / 478.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.1283, allocations: 16.05 kB / 478.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1283, allocations: 4 kB / 478.8 MB, free: 5.199 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.0001409/0.1284, allocations: 157.8 kB / 479 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.1285, allocations: 39.55 kB / 479 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.1286, allocations: 33.73 kB / 479.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1286, allocations: 4 kB / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1286, allocations: 3.938 kB / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1286, allocations: 0 / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/0.1295, allocations: 0.7193 MB / 479.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1295, allocations: 0 / 479.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-05/0.1296, allocations: 27.98 kB / 479.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1296, allocations: 4 kB / 479.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1296, allocations: 8 kB / 479.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1296, allocations: 4.125 kB / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1296, allocations: 7.938 kB / 479.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.1301, allocations: 409.8 kB / 480.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.1302, allocations: 100.8 kB / 480.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.1302, allocations: 8 kB / 480.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1303, allocations: 15.92 kB / 480.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.1304, allocations: 23.86 kB / 480.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.1304, allocations: 15.98 kB / 480.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.1307, allocations: 257.9 kB / 480.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1307, allocations: 0 / 480.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1311, allocations: 51.91 kB / 480.7 MB, free: 3.203 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.001179/0.1323, allocations: 0.5054 MB / 481.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.1326, allocations: 167.9 kB / 481.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1326, allocations: 0 / 481.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.1328, allocations: 71.92 kB / 481.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.1333, allocations: 74.66 kB / 481.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.1342, allocations: 492.5 kB / 482 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1345, allocations: 0.7597 MB / 482.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.1346, allocations: 45.91 kB / 482.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.1347, allocations: 35.38 kB / 482.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1347, allocations: 0 / 482.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of Templates: time 0.006559/0.1413, allocations: 3.072 MB / 485.9 MB, free: 14.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches