Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.001543/0.001543, allocations: 192 kB / 19.34 MB, free: 3.766 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.369/1.369, allocations: 222.9 MB / 243 MB, free: 15.14 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.2104/0.2104, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 65 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1144, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003286/0.1177, allocations: 1.787 MB / 472.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1193, allocations: 0.9627 MB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.1194, allocations: 7.938 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.1199, allocations: 299.3 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.1203, allocations: 211.3 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1207, allocations: 170.6 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.121, allocations: 239.4 kB / 474.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.121, allocations: 13.55 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1212, allocations: 135.5 kB / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1214, allocations: 195.5 kB / 474.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1215, allocations: 8 kB / 474.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.904e-05/0.1216, allocations: 40 kB / 474.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1217, allocations: 135.6 kB / 474.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1219, allocations: 142.8 kB / 475 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1222, allocations: 370.6 kB / 475.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1222, allocations: 0 / 475.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1222, allocations: 0 / 475.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1222, allocations: 0 / 475.4 MB, free: 8.957 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008936/0.1231, allocations: 0.7336 MB / 476.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1232, allocations: 12.03 kB / 476.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.1233, allocations: 52.28 kB / 476.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.1238, allocations: 451.8 kB / 476.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1239, allocations: 384 / 476.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1239, allocations: 8.125 kB / 476.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1241, allocations: 83.36 kB / 476.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1241, allocations: 0 / 476.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1241, allocations: 4 kB / 476.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1241, allocations: 7.938 kB / 476.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1242, allocations: 31.92 kB / 476.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1246, allocations: 370.4 kB / 477.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.1249, allocations: 113.2 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.038e-05/0.125, allocations: 45.58 kB / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.125, allocations: 0 / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.1252, allocations: 109 kB / 477.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1252, allocations: 4 kB / 477.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004462/0.1257, allocations: 197 kB / 477.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.1257, allocations: 77.11 kB / 477.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000966/0.1267, allocations: 1.034 MB / 478.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1267, allocations: 29.7 kB / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1269, allocations: 232.1 kB / 478.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.127, allocations: 31.55 kB / 479 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.127, allocations: 41.64 kB / 479 MB, free: 5.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1272, allocations: 362.8 kB / 479.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-05/0.1272, allocations: 27.98 kB / 479.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.1273, allocations: 55.42 kB / 479.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1275, allocations: 95.84 kB / 479.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1275, allocations: 0 / 479.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002773/0.1278, allocations: 165 kB / 479.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1278, allocations: 8 kB / 479.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1278, allocations: 3.938 kB / 479.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1279, allocations: 3.984 kB / 479.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.128, allocations: 23.94 kB / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.128, allocations: 0 / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.1281, allocations: 19.95 kB / 479.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1281, allocations: 4 kB / 479.8 MB, free: 4.289 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001883/0.1283, allocations: 233.6 kB / 480 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.1284, allocations: 51.34 kB / 480 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.1284, allocations: 56 kB / 480.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1285, allocations: 4 kB / 480.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1285, allocations: 0 / 480.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1285, allocations: 0 / 480.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.1287, allocations: 345.4 kB / 480.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1287, allocations: 0 / 480.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.1288, allocations: 15.88 kB / 480.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1288, allocations: 0 / 480.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1288, allocations: 0 / 480.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1288, allocations: 4 kB / 480.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1288, allocations: 3.984 kB / 480.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.1291, allocations: 209.2 kB / 480.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.1293, allocations: 132.5 kB / 480.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.1293, allocations: 4 kB / 480.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.1294, allocations: 3.984 kB / 480.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1295, allocations: 8 kB / 480.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1295, allocations: 11.98 kB / 480.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007454/0.1302, allocations: 0.7643 MB / 481.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1303, allocations: 0 / 481.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1305, allocations: 40 kB / 481.6 MB, free: 2.324 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009066/0.1314, allocations: 428.3 kB / 482 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.1317, allocations: 79.84 kB / 482.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1317, allocations: 4 kB / 482.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.1318, allocations: 31.98 kB / 482.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.1322, allocations: 76.77 kB / 482.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1333, allocations: 0.8783 MB / 483.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1336, allocations: 0.8466 MB / 484 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.923e-05/0.1337, allocations: 54.95 kB / 484 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.1338, allocations: 31.42 kB / 484 MB, free: 12 kB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1338, allocations: 0 / 484 MB, free: 12 kB / 350.1 MB Notification: Performance of Templates: time 0.006994/0.1408, allocations: 3.705 MB / 487.8 MB, free: 12.33 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches