Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009049/0.0009053, allocations: 97.8 kB / 17 MB, free: 6.398 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.0009768/0.0009768, allocations: 177.4 kB / 17.89 MB, free: 5.945 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.448/1.448, allocations: 223.2 MB / 241.9 MB, free: 320 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.2244/0.2244, allocations: 44.25 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003838, allocations: 16.77 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00319/0.1419, allocations: 1.386 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1439, allocations: 0.8075 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1441, allocations: 0 / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.1446, allocations: 31.84 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.1449, allocations: 47.83 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.1453, allocations: 86.83 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.1455, allocations: 91.67 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1456, allocations: 8.234 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1457, allocations: 35.8 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.1458, allocations: 31.84 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1459, allocations: 4 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.146, allocations: 27.98 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.1461, allocations: 19.92 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.1461, allocations: 37.64 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1463, allocations: 92.08 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1463, allocations: 0 / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1463, allocations: 4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1463, allocations: 0 / 474.3 MB, free: 10.97 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006386/0.147, allocations: 393.3 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.147, allocations: 8.031 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.1471, allocations: 19.84 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.1474, allocations: 198.8 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1474, allocations: 4 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1475, allocations: 0 / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1476, allocations: 69.55 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1477, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1477, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1477, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/0.1478, allocations: 23.98 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.1482, allocations: 288.9 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1484, allocations: 62.61 kB / 475.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.1485, allocations: 16.86 kB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1485, allocations: 4 kB / 475.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.1487, allocations: 63.39 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.1487, allocations: 0 / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006213/0.1493, allocations: 173.2 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.1494, allocations: 55.41 kB / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1496, allocations: 190.2 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1497, allocations: 25.7 kB / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.1498, allocations: 100.1 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.1498, allocations: 23.66 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.1498, allocations: 0 / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.15, allocations: 330.8 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.1501, allocations: 19.98 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.1501, allocations: 41.64 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.104e-05/0.1502, allocations: 24 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1502, allocations: 3.938 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.1504, allocations: 105.4 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1504, allocations: 10.5 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1505, allocations: 0 / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1505, allocations: 0 / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.1506, allocations: 16.03 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1506, allocations: 7.984 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.1506, allocations: 4 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1507, allocations: 4 kB / 476.6 MB, free: 8.504 MB / 350.1 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.1508, allocations: 125.1 kB / 476.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.1508, allocations: 16.08 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.1509, allocations: 12.72 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1509, allocations: 3.938 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1509, allocations: 4 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1509, allocations: 0 / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1514, allocations: 399.4 kB / 477.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1514, allocations: 0 / 477.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.1514, allocations: 15.92 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1514, allocations: 0 / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1515, allocations: 0 / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1515, allocations: 4.375 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1515, allocations: 0 / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1517, allocations: 208.2 kB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.1518, allocations: 97 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1518, allocations: 0 / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.1519, allocations: 4 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.152, allocations: 11.92 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.152, allocations: 4 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1521, allocations: 151.2 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1521, allocations: 0 / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1524, allocations: 24 kB / 477.6 MB, free: 7.34 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: 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 (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.001158/0.1536, allocations: 460.9 kB / 478.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.1538, allocations: 63.91 kB / 478.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1538, allocations: 0 / 478.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-05/0.1539, allocations: 20 kB / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1543, allocations: 38.88 kB / 478.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.1548, allocations: 238.4 kB / 478.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.1554, allocations: 0.7082 MB / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.729e-05/0.1555, allocations: 21.17 kB / 479.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.1555, allocations: 15.44 kB / 479.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1555, allocations: 3.938 kB / 479.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of Templates: time 0.005191/0.1607, allocations: 1.581 MB / 480.7 MB, free: 4.336 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches