Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0112/0.0112, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001834/0.001834, allocations: 195.8 kB / 16.79 MB, free: 6.242 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.589/1.589, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.3573/0.3573, allocations: 43.49 MB / 313.5 MB, free: 8.254 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.001719/0.001719, allocations: 67.91 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1513, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003201/0.1546, allocations: 1.725 MB / 441.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1558, allocations: 0.7729 MB / 442.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.1559, allocations: 0 / 442.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1562, allocations: 55.86 kB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.1564, allocations: 51.75 kB / 442.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1567, allocations: 75.84 kB / 442.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.1569, allocations: 91.77 kB / 442.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.1569, allocations: 11.92 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.157, allocations: 39.78 kB / 442.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.028e-05/0.1571, allocations: 39.78 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1571, allocations: 0 / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.963e-05/0.1572, allocations: 27.98 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1573, allocations: 27.86 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.1573, allocations: 39.67 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1575, allocations: 111.8 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1575, allocations: 0 / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1575, allocations: 0 / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1576, allocations: 0 / 442.9 MB, free: 11.52 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.0006055/0.1582, allocations: 442.7 kB / 443.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1582, allocations: 12.02 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.1583, allocations: 12.84 kB / 443.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1585, allocations: 211.8 kB / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1585, allocations: 384 / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1586, allocations: 16.05 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1587, allocations: 41.69 kB / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1588, allocations: 0 / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1588, allocations: 4 kB / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1588, allocations: 7.938 kB / 443.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.1589, allocations: 11.98 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.1591, allocations: 193.7 kB / 443.8 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1593, allocations: 50.56 kB / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.1594, allocations: 24.78 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1594, allocations: 0 / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.1598, allocations: 67.39 kB / 444 MB, free: 10.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1598, allocations: 0 / 444 MB, free: 10.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003055/0.1601, allocations: 97.48 kB / 444.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1601, allocations: 55.34 kB / 444.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.1604, allocations: 255.7 kB / 444.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.448e-05/0.1605, allocations: 33.7 kB / 444.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.1606, allocations: 112.1 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.1606, allocations: 19.78 kB / 444.5 MB, free: 9.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.1607, allocations: 17.72 kB / 444.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1608, allocations: 326.8 kB / 444.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.1609, allocations: 15.98 kB / 444.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.672e-05/0.1609, allocations: 25.72 kB / 444.9 MB, free: 9.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.161, allocations: 45.7 kB / 444.9 MB, free: 9.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1611, allocations: 0 / 444.9 MB, free: 9.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001594/0.1612, allocations: 89.62 kB / 445 MB, free: 9.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1613, allocations: 4 kB / 445 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1613, allocations: 12.05 kB / 445 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1613, allocations: 0 / 445 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.1614, allocations: 11.94 kB / 445.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1614, allocations: 0 / 445.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.1614, allocations: 11.88 kB / 445.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.1615, allocations: 8.031 kB / 445.1 MB, free: 9.086 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.0001159/0.1616, allocations: 133.8 kB / 445.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1616, allocations: 15.81 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.1617, allocations: 16.98 kB / 445.2 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1617, allocations: 4 kB / 445.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1617, allocations: 0 / 445.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1617, allocations: 0 / 445.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1619, allocations: 197.6 kB / 445.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1619, allocations: 0 / 445.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.1619, allocations: 7.938 kB / 445.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1619, allocations: 4 kB / 445.4 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1619, allocations: 3.984 kB / 445.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.162, allocations: 4 kB / 445.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.162, allocations: 0 / 445.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1621, allocations: 116.8 kB / 445.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.1622, allocations: 89 kB / 445.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1622, allocations: 0 / 445.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.1623, allocations: 8 kB / 445.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.1623, allocations: 3.984 kB / 445.7 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1624, allocations: 4 kB / 445.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1625, allocations: 203 kB / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1625, allocations: 0 / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1628, allocations: 16 kB / 445.9 MB, free: 8.18 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.00101/0.1638, allocations: 413.6 kB / 446.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.164, allocations: 47.91 kB / 446.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.164, allocations: 0 / 446.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.1641, allocations: 23.98 kB / 446.4 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.1644, allocations: 31.84 kB / 446.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.1649, allocations: 280.4 kB / 446.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1652, allocations: 0.716 MB / 447.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.861e-05/0.1653, allocations: 12.55 kB / 447.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.1653, allocations: 11.44 kB / 447.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1653, allocations: 0 / 447.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of Templates: time 0.004562/0.1699, allocations: 1.459 MB / 448.9 MB, free: 5.184 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches