Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 104.3 kB / 18.4 MB, free: 4.699 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.001555/0.001556, allocations: 191 kB / 19.34 MB, free: 3.766 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.552/1.552, allocations: 222.9 MB / 243 MB, free: 15.09 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.276/0.276, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 72.3 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003206/0.1391, allocations: 1.72 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1407, allocations: 0.8886 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.1407, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.1411, allocations: 83.64 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1413, allocations: 75.72 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1416, allocations: 118.9 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1418, allocations: 107.7 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.1419, allocations: 12 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.142, allocations: 59.75 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1421, allocations: 51.77 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1422, allocations: 8 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1423, allocations: 59.97 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1424, allocations: 27.84 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.1424, allocations: 35.75 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.1426, allocations: 131.5 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1426, allocations: 0 / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1427, allocations: 0 / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1427, allocations: 4 kB / 474.1 MB, free: 10.29 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.000516/0.1432, allocations: 426.9 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1432, allocations: 8.031 kB / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1433, allocations: 12.84 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.1436, allocations: 215.9 kB / 474.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1436, allocations: 4.312 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1436, allocations: 20.11 kB / 474.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1438, allocations: 61.66 kB / 474.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1438, allocations: 0 / 474.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1438, allocations: 0 / 474.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1438, allocations: 0 / 474.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.1439, allocations: 19.98 kB / 474.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.1443, allocations: 312.6 kB / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1445, allocations: 66.55 kB / 475.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.1446, allocations: 20.98 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1446, allocations: 0 / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.1449, allocations: 75.31 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1449, allocations: 0 / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007145/0.1456, allocations: 237.1 kB / 475.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.1456, allocations: 59.34 kB / 475.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1458, allocations: 211.5 kB / 475.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1459, allocations: 25.7 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.1459, allocations: 108.1 kB / 475.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.146, allocations: 31.62 kB / 476 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.146, allocations: 29.7 kB / 476 MB, free: 8.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1461, allocations: 330.8 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.1462, allocations: 27.98 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.1463, allocations: 49.64 kB / 476.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1464, allocations: 81.58 kB / 476.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1464, allocations: 0 / 476.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002107/0.1467, allocations: 129.5 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.1467, allocations: 15.97 kB / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1467, allocations: 0 / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1467, allocations: 0 / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.1468, allocations: 23.98 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1468, allocations: 3.938 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.1469, allocations: 0 / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1469, allocations: 4 kB / 476.6 MB, free: 7.488 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 ($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 (13): * Single equations (assignments): 13 * 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.0001123/0.147, allocations: 129.8 kB / 476.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.147, allocations: 19.75 kB / 476.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.1471, allocations: 21.41 kB / 476.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1471, allocations: 7.938 kB / 476.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1471, allocations: 3.938 kB / 476.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1471, allocations: 3.984 kB / 476.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.1477, allocations: 440 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1477, allocations: 0 / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.1477, allocations: 19.92 kB / 477.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1477, allocations: 8.062 kB / 477.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1478, allocations: 4 kB / 477.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1478, allocations: 4 kB / 477.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1478, allocations: 0 / 477.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1481, allocations: 232.9 kB / 477.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.1482, allocations: 89.02 kB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1482, allocations: 12 kB / 477.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.1483, allocations: 0 / 477.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1483, allocations: 11.92 kB / 477.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1483, allocations: 4 kB / 477.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1485, allocations: 164.2 kB / 477.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1485, allocations: 4 kB / 477.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1488, allocations: 31.98 kB / 477.8 MB, free: 6.191 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 (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.001133/0.1499, allocations: 0.4972 MB / 478.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1501, allocations: 87.84 kB / 478.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1501, allocations: 3.938 kB / 478.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.1502, allocations: 39.92 kB / 478.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1505, allocations: 42.56 kB / 478.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.151, allocations: 276.4 kB / 478.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1514, allocations: 0.7155 MB / 479.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.1515, allocations: 24.62 kB / 479.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.1515, allocations: 15.44 kB / 479.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1515, allocations: 4 kB / 479.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of Templates: time 0.004665/0.1562, allocations: 1.946 MB / 481.5 MB, free: 2.719 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches