Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 88.19 kB / 15.7 MB, free: 460 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.002218/0.002218, allocations: 175.8 kB / 16.58 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 2.404/2.404, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.4853/0.4853, allocations: 43.57 MB / 314.6 MB, free: 9.027 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.0005675/0.0005677, allocations: 20 kB / 384 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 58.87 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002212/0.1582, allocations: 1.355 MB / 444.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1595, allocations: 0.7266 MB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.1596, allocations: 7.938 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1599, allocations: 55.84 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.1601, allocations: 59.81 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.1603, allocations: 67.84 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1605, allocations: 87.69 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.1606, allocations: 7.984 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.1607, allocations: 35.84 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.1607, allocations: 43.83 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1608, allocations: 0 / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.1609, allocations: 27.92 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.1609, allocations: 15.98 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.161, allocations: 37.64 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.1611, allocations: 72.11 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1612, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1612, allocations: 4 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.1612, allocations: 0 / 445.4 MB, free: 10.64 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.0005406/0.1617, allocations: 402.7 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1618, allocations: 12.03 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.1618, allocations: 11.89 kB / 445.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1621, allocations: 194.8 kB / 446 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.1621, allocations: 4 kB / 446 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1621, allocations: 0 / 446 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1623, allocations: 57.66 kB / 446.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1623, allocations: 0 / 446.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1624, allocations: 0 / 446.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1624, allocations: 7.953 kB / 446.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.1624, allocations: 19.92 kB / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.1628, allocations: 173.7 kB / 446.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1629, allocations: 54.61 kB / 446.3 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.163, allocations: 16.86 kB / 446.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.163, allocations: 0 / 446.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.1632, allocations: 71.39 kB / 446.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1633, allocations: 0 / 446.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002945/0.1636, allocations: 97.69 kB / 446.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1636, allocations: 55.36 kB / 446.6 MB, free: 9.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1638, allocations: 174.2 kB / 446.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1638, allocations: 29.7 kB / 446.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.1639, allocations: 108.1 kB / 446.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.164, allocations: 11.8 kB / 446.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.164, allocations: 0 / 446.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1641, allocations: 330.8 kB / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.1642, allocations: 19.92 kB / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/0.1642, allocations: 25.7 kB / 447.3 MB, free: 8.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.424e-05/0.1643, allocations: 28 kB / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1643, allocations: 4 kB / 447.3 MB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001491/0.1645, allocations: 73.59 kB / 447.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1645, allocations: 4 kB / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1645, allocations: 0 / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1645, allocations: 4 kB / 447.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.1646, allocations: 15.92 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.587e-06/0.1646, allocations: 3.953 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.1647, allocations: 7.906 kB / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.1647, allocations: 0 / 447.4 MB, free: 8.43 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 ($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 (7): * Single equations (assignments): 7 * 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.0001097/0.1648, allocations: 133.8 kB / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.1648, allocations: 7.906 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.1649, allocations: 12.31 kB / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1649, allocations: 0 / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1649, allocations: 0 / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1649, allocations: 3.953 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1651, allocations: 189.6 kB / 447.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1651, allocations: 0 / 447.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.1651, allocations: 4 kB / 447.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1651, allocations: 0 / 447.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1651, allocations: 4 kB / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1651, allocations: 0 / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1651, allocations: 4 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.1653, allocations: 112.9 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.1654, allocations: 88.91 kB / 447.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1654, allocations: 8 kB / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.1655, allocations: 0 / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.1655, allocations: 8 kB / 448 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1655, allocations: 8.109 kB / 448 MB, free: 7.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1657, allocations: 140.1 kB / 448.1 MB, free: 7.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1657, allocations: 0 / 448.1 MB, free: 7.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.1659, allocations: 23.98 kB / 448.1 MB, free: 7.605 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 (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.001084/0.167, allocations: 410.1 kB / 448.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1672, allocations: 35.92 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1672, allocations: 4.062 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.1672, allocations: 20 kB / 448.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.1675, allocations: 27.92 kB / 448.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.1679, allocations: 205.2 kB / 448.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1682, allocations: 0.7004 MB / 449.5 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.239e-05/0.1683, allocations: 20.66 kB / 449.5 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.1683, allocations: 15.42 kB / 449.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1684, allocations: 0 / 449.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of Templates: time 0.004567/0.1729, allocations: 1.387 MB / 450.9 MB, free: 4.777 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches