Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.001082/0.001082, allocations: 102.3 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3897/0.3897, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1293, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003408/0.1327, allocations: 1.76 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1341, allocations: 0.7885 MB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1342, allocations: 3.938 kB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.1347, allocations: 27.89 kB / 489.6 MB, free: 9.938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1349, allocations: 47.83 kB / 489.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1352, allocations: 75.84 kB / 489.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1354, allocations: 91.7 kB / 489.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1355, allocations: 12.22 kB / 489.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.1356, allocations: 47.77 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.1357, allocations: 31.8 kB / 489.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1357, allocations: 4 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.1358, allocations: 39.98 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.1358, allocations: 15.91 kB / 490 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.1359, allocations: 31.75 kB / 490 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1361, allocations: 108 kB / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1361, allocations: 0 / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1361, allocations: 0 / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1361, allocations: 0 / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006175/0.1368, allocations: 418.9 kB / 490.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1368, allocations: 8.031 kB / 490.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.1369, allocations: 12.75 kB / 490.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1372, allocations: 200.1 kB / 490.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1372, allocations: 384 / 490.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1372, allocations: 16.02 kB / 490.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1374, allocations: 53.67 kB / 490.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1374, allocations: 0 / 490.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1374, allocations: 4 kB / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1375, allocations: 0 / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.1375, allocations: 27.92 kB / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.138, allocations: 284.9 kB / 491.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.1382, allocations: 50.69 kB / 491.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.1383, allocations: 24.84 kB / 491.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1383, allocations: 3.984 kB / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.1385, allocations: 71.33 kB / 491.2 MB, free: 8.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1385, allocations: 0 / 491.2 MB, free: 8.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005516/0.1391, allocations: 177.2 kB / 491.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1391, allocations: 51.41 kB / 491.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1393, allocations: 170.2 kB / 491.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1393, allocations: 29.7 kB / 491.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.1394, allocations: 100.1 kB / 491.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1395, allocations: 23.66 kB / 491.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.1395, allocations: 25.7 kB / 491.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1396, allocations: 330.6 kB / 492.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.1397, allocations: 23.98 kB / 492.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.1398, allocations: 33.72 kB / 492.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1399, allocations: 73.69 kB / 492.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1399, allocations: 0 / 492.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001672/0.1401, allocations: 93.58 kB / 492.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1401, allocations: 11.94 kB / 492.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1401, allocations: 0 / 492.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1401, allocations: 0 / 492.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.1402, allocations: 12 kB / 492.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1402, allocations: 8.031 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.1403, allocations: 11.92 kB / 492.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1403, allocations: 4 kB / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001007/0.1404, allocations: 117.8 kB / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1404, allocations: 11.81 kB / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.1405, allocations: 16.7 kB / 492.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1405, allocations: 0 / 492.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1405, allocations: 4 kB / 492.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1405, allocations: 7.938 kB / 492.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.141, allocations: 387.3 kB / 492.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.141, allocations: 0 / 492.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.141, allocations: 11.94 kB / 492.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.141, allocations: 0 / 492.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.141, allocations: 11.92 kB / 493 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.141, allocations: 0 / 493 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.141, allocations: 0 / 493 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.1416, allocations: 0.7793 MB / 493.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1417, allocations: 85.02 kB / 493.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1417, allocations: 4 kB / 493.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.1418, allocations: 4.375 kB / 493.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.1419, allocations: 11.98 kB / 493.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1419, allocations: 4 kB / 493.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.142, allocations: 132.1 kB / 494 MB, free: 5.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.142, allocations: 0 / 494 MB, free: 5.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.1424, allocations: 23.98 kB / 494 MB, free: 5.156 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001008/0.1434, allocations: 479.9 kB / 494.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1436, allocations: 67.83 kB / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1436, allocations: 0 / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.1437, allocations: 31.92 kB / 494.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.144, allocations: 27.97 kB / 494.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.1446, allocations: 355.6 kB / 494.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1449, allocations: 0.7083 MB / 495.6 MB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.145, allocations: 12.88 kB / 495.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.145, allocations: 19.44 kB / 495.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.145, allocations: 0 / 495.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of Templates: time 0.004391/0.1494, allocations: 1.669 MB / 497.3 MB, free: 1.793 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches