Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 98.34 kB / 16.99 MB, free: 6.402 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.001462/0.001462, allocations: 178.6 kB / 17.88 MB, free: 5.957 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.418/1.418, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2509/0.2509, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 8 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 61.93 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002315/0.1337, allocations: 1.383 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1351, allocations: 0.792 MB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.1352, allocations: 4 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1355, allocations: 35.77 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.1357, allocations: 43.88 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.136, allocations: 83.78 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1362, allocations: 67.78 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1363, allocations: 12.23 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.1364, allocations: 39.83 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.1365, allocations: 27.86 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1365, allocations: 0 / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.72e-05/0.1366, allocations: 24 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.1367, allocations: 15.91 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.1367, allocations: 37.64 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.1369, allocations: 88.09 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1369, allocations: 4 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.831e-06/0.1369, allocations: 0 / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1369, allocations: 3.938 kB / 474.1 MB, free: 11.04 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.0006014/0.1375, allocations: 395 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1376, allocations: 15.97 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.1376, allocations: 7.906 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1379, allocations: 198.8 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.138, allocations: 4 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.138, allocations: 7.938 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1381, allocations: 57.62 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1382, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1382, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1382, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.1383, allocations: 15.98 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.1387, allocations: 284.9 kB / 475.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1389, allocations: 58.61 kB / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1389, allocations: 4.125 kB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.1391, allocations: 63.39 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1391, allocations: 0 / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.1397, allocations: 177.5 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1397, allocations: 55.41 kB / 475.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1399, allocations: 190.2 kB / 475.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.14, allocations: 25.7 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.14, allocations: 100.1 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.14, allocations: 27.64 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.1401, allocations: 0 / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1402, allocations: 326.8 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.1403, allocations: 19.94 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.1403, allocations: 37.7 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.346e-05/0.1404, allocations: 31.94 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1404, allocations: 0 / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001716/0.1406, allocations: 97.5 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1406, allocations: 8 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1406, allocations: 4 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1407, allocations: 0 / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.1407, allocations: 19.97 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.1408, allocations: 8.031 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1408, allocations: 4 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1408, allocations: 4 kB / 476.3 MB, free: 8.605 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.000103/0.1409, allocations: 126.3 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.141, allocations: 8.094 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.141, allocations: 16.72 kB / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.141, allocations: 7.922 kB / 476.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.141, allocations: 0 / 476.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1411, allocations: 3.938 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.1415, allocations: 395.3 kB / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1415, allocations: 0 / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.1415, allocations: 11.94 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1416, allocations: 0 / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1416, allocations: 4 kB / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1416, allocations: 4 kB / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.1416, allocations: 3.984 kB / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1418, allocations: 222.1 kB / 477.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.1419, allocations: 89.02 kB / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.1419, allocations: 0 / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.142, allocations: 7.984 kB / 477.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1421, allocations: 7.938 kB / 477.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1421, allocations: 4 kB / 477.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1422, allocations: 147.2 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1422, allocations: 7.938 kB / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1425, allocations: 27.95 kB / 477.4 MB, free: 7.418 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.001014/0.1435, allocations: 460.4 kB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1437, allocations: 59.92 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1437, allocations: 0 / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.1438, allocations: 27.98 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.144, allocations: 23.98 kB / 478 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.1445, allocations: 246.3 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1448, allocations: 0.7043 MB / 478.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.094e-05/0.1449, allocations: 21.17 kB / 478.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.1449, allocations: 15.44 kB / 478.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1449, allocations: 0 / 478.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of Templates: time 0.004083/0.149, allocations: 1.582 MB / 480.5 MB, free: 4.426 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches