Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001365, allocations: 96.14 kB / 15.87 MB, free: 16 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.001543/0.001543, allocations: 203.2 kB / 16.79 MB, free: 6.84 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.786/1.786, allocations: 205.1 MB / 222.6 MB, free: 4.781 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.3683/0.3683, allocations: 43.49 MB / 313.5 MB, free: 8.316 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.001461/0.001461, allocations: 71.91 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1307, allocations: 57.78 MB / 439.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003439/0.1342, allocations: 1.717 MB / 441.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1355, allocations: 0.7807 MB / 442.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.1355, allocations: 3.938 kB / 442.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1358, allocations: 43.88 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.136, allocations: 59.81 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1362, allocations: 71.84 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1364, allocations: 95.69 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.1364, allocations: 11.97 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.1365, allocations: 39.73 kB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.1366, allocations: 39.77 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1366, allocations: 4 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.1367, allocations: 20 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.1368, allocations: 31.91 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.1368, allocations: 39.67 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.137, allocations: 107.9 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.137, allocations: 0 / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.137, allocations: 3.938 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.137, allocations: 4 kB / 442.9 MB, free: 11.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005759/0.1376, allocations: 434.7 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1377, allocations: 8.031 kB / 443.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.1377, allocations: 12.84 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1379, allocations: 219.7 kB / 443.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.138, allocations: 4.375 kB / 443.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.138, allocations: 8.125 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1381, allocations: 45.67 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.1381, allocations: 0 / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1382, allocations: 0 / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1382, allocations: 4 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.1382, allocations: 19.92 kB / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.1384, allocations: 189.7 kB / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1386, allocations: 50.62 kB / 443.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.1387, allocations: 24.78 kB / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1387, allocations: 4 kB / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.1389, allocations: 67.33 kB / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1389, allocations: 4 kB / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000265/0.1392, allocations: 97.67 kB / 444.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1392, allocations: 51.41 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.1395, allocations: 254.8 kB / 444.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.1395, allocations: 29.64 kB / 444.4 MB, free: 9.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.1395, allocations: 112.1 kB / 444.5 MB, free: 9.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.1396, allocations: 15.8 kB / 444.5 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1396, allocations: 25.7 kB / 444.5 MB, free: 9.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1398, allocations: 326.8 kB / 444.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.155e-05/0.1398, allocations: 16.06 kB / 444.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.1399, allocations: 29.64 kB / 444.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.14, allocations: 45.7 kB / 444.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.14, allocations: 0 / 444.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001515/0.1401, allocations: 89.38 kB / 445 MB, free: 9.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1402, allocations: 12.03 kB / 445 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1402, allocations: 0 / 445 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1402, allocations: 3.938 kB / 445 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.1403, allocations: 11.98 kB / 445.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1403, allocations: 4 kB / 445.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.1403, allocations: 3.938 kB / 445.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1403, allocations: 4 kB / 445.1 MB, free: 9.117 MB / 382.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 ($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 (7): * Single equations (assignments): 7 * 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.0001067/0.1405, allocations: 141.7 kB / 445.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1405, allocations: 11.81 kB / 445.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.1405, allocations: 28.97 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1405, allocations: 0 / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1406, allocations: 0 / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1406, allocations: 0 / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1407, allocations: 193.6 kB / 445.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1407, allocations: 7.938 kB / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.1407, allocations: 0 / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1408, allocations: 0 / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1408, allocations: 4 kB / 445.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1408, allocations: 0 / 445.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1408, allocations: 4 kB / 445.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.141, allocations: 116.9 kB / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.141, allocations: 85.02 kB / 445.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1411, allocations: 7.984 kB / 445.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.1411, allocations: 4 kB / 445.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.1411, allocations: 4 kB / 445.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1412, allocations: 0 / 445.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.1413, allocations: 211.9 kB / 445.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1413, allocations: 0 / 445.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000204/0.1415, allocations: 16 kB / 445.9 MB, free: 8.203 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008745/0.1424, allocations: 413.8 kB / 446.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1426, allocations: 43.98 kB / 446.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1426, allocations: 0 / 446.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.863e-05/0.1427, allocations: 23.92 kB / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.1429, allocations: 31.98 kB / 446.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.1434, allocations: 288.2 kB / 446.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1436, allocations: 0.716 MB / 447.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.1437, allocations: 12.55 kB / 447.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.1437, allocations: 15.42 kB / 447.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1437, allocations: 4 kB / 447.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of Templates: time 0.003822/0.1476, allocations: 1.459 MB / 448.9 MB, free: 5.199 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches