Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 98.3 kB / 16.99 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.001533/0.001533, allocations: 183.8 kB / 17.87 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.462/1.462, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2164/0.2164, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 15.94 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002325/0.1423, allocations: 1.406 MB / 472.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1436, allocations: 0.7957 MB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.1437, allocations: 4 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1441, allocations: 99.77 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.1443, allocations: 75.77 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1446, allocations: 94.58 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.1448, allocations: 75.83 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.1449, allocations: 16 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.811e-05/0.145, allocations: 47.83 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1451, allocations: 47.81 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1451, allocations: 0 / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1452, allocations: 36 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.1453, allocations: 27.91 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.1453, allocations: 37.64 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1455, allocations: 104 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1455, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1455, allocations: 7.984 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1456, allocations: 7.938 kB / 474.3 MB, free: 10.84 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.0006433/0.1462, allocations: 410.8 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1463, allocations: 16.55 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.1463, allocations: 11.81 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1466, allocations: 219.5 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1466, allocations: 0 / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.1466, allocations: 4 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1468, allocations: 61.62 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1468, allocations: 4 kB / 475 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1468, allocations: 11.88 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1468, allocations: 0 / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.1469, allocations: 23.97 kB / 475.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.1474, allocations: 300.8 kB / 475.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1476, allocations: 66.55 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1477, allocations: 3.938 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.1479, allocations: 71.5 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.1479, allocations: 0 / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007994/0.1487, allocations: 245.5 kB / 475.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1488, allocations: 55.41 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.149, allocations: 238.3 kB / 476 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.149, allocations: 29.7 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.1491, allocations: 112.1 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.1492, allocations: 31.55 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.1492, allocations: 4 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1493, allocations: 330.8 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.1494, allocations: 23.98 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.022e-05/0.1495, allocations: 57.64 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/0.1496, allocations: 35.94 kB / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1496, allocations: 0 / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002211/0.1498, allocations: 121.5 kB / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1499, allocations: 4 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1499, allocations: 0 / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1499, allocations: 4 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.15, allocations: 27.92 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.15, allocations: 0 / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.1501, allocations: 8.031 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1501, allocations: 4 kB / 476.8 MB, free: 8.129 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 (13): * Single equations (assignments): 13 * 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.0001228/0.1503, allocations: 137.8 kB / 476.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1503, allocations: 11.81 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.1503, allocations: 25.39 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1503, allocations: 0 / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1504, allocations: 4 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1504, allocations: 3.938 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.1509, allocations: 463.9 kB / 477.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.151, allocations: 8 kB / 477.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.151, allocations: 15.94 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.151, allocations: 3.984 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.1511, allocations: 4 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1511, allocations: 0 / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1511, allocations: 0 / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1514, allocations: 252.5 kB / 477.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1514, allocations: 100.8 kB / 477.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1515, allocations: 7.953 kB / 477.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.1516, allocations: 8 kB / 477.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1516, allocations: 7.984 kB / 477.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.1516, allocations: 4 kB / 477.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.1518, allocations: 184.3 kB / 478 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1518, allocations: 0 / 478 MB, free: 6.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1521, allocations: 31.98 kB / 478.1 MB, free: 6.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001178/0.1533, allocations: 0.5195 MB / 478.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.1535, allocations: 79.91 kB / 478.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1535, allocations: 0 / 478.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.797e-05/0.1536, allocations: 39.92 kB / 478.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1539, allocations: 28.16 kB / 478.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.1545, allocations: 315.9 kB / 479 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1549, allocations: 0.7238 MB / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.239e-05/0.1549, allocations: 20.62 kB / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.155, allocations: 19.42 kB / 479.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.155, allocations: 0 / 479.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of Templates: time 0.005448/0.1604, allocations: 1.832 MB / 481.6 MB, free: 3.355 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches