Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 96.94 kB / 16.02 MB, free: 84 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.001132/0.001131, allocations: 182 kB / 16.91 MB, free: 6.914 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.07/2.07, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.428/0.428, allocations: 43.57 MB / 315 MB, free: 9.078 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.0005919/0.000592, allocations: 19.98 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1596, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002525/0.1622, allocations: 1.267 MB / 444.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.1631, allocations: 311.6 kB / 445 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.1632, allocations: 0 / 445 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.1636, allocations: 75.84 kB / 445.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1638, allocations: 47.86 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1642, allocations: 71.8 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1643, allocations: 59.89 kB / 445.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1645, allocations: 15.97 kB / 445.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/0.1646, allocations: 27.8 kB / 445.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1647, allocations: 55.88 kB / 445.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1647, allocations: 0 / 445.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.1649, allocations: 24 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.1649, allocations: 23.91 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.165, allocations: 57.44 kB / 445.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1652, allocations: 83.94 kB / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1652, allocations: 0 / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1652, allocations: 0 / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1652, allocations: 0 / 445.5 MB, free: 10.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005797/0.1658, allocations: 395.1 kB / 445.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1659, allocations: 8.031 kB / 445.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.1659, allocations: 8.844 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1662, allocations: 196.1 kB / 446.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1662, allocations: 384 / 446.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1663, allocations: 384 / 446.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1664, allocations: 61.8 kB / 446.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1665, allocations: 0 / 446.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1665, allocations: 0 / 446.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1665, allocations: 8 kB / 446.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1666, allocations: 23.98 kB / 446.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1671, allocations: 280.8 kB / 446.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.1673, allocations: 50.56 kB / 446.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.1674, allocations: 16.94 kB / 446.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.1674, allocations: 0 / 446.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1675, allocations: 30.56 kB / 446.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.316e-06/0.1675, allocations: 0 / 446.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006278/0.1681, allocations: 173.1 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1682, allocations: 55.41 kB / 446.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.1684, allocations: 202.2 kB / 447 MB, free: 9.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1684, allocations: 33.64 kB / 447.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.1685, allocations: 104.1 kB / 447.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1685, allocations: 19.7 kB / 447.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.1685, allocations: 13.72 kB / 447.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1687, allocations: 326.8 kB / 447.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.1688, allocations: 15.98 kB / 447.5 MB, free: 8.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.1688, allocations: 27.98 kB / 447.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.169, allocations: 48.84 kB / 447.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.169, allocations: 4 kB / 447.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.1692, allocations: 93.5 kB / 447.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1692, allocations: 8 kB / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1692, allocations: 0 / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1692, allocations: 0 / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.1693, allocations: 15.94 kB / 447.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1693, allocations: 0 / 447.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.1694, allocations: 7.984 kB / 447.7 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1694, allocations: 4 kB / 447.7 MB, free: 8.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001534/0.1696, allocations: 137.8 kB / 447.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.1696, allocations: 7.906 kB / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.1698, allocations: 102.1 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1698, allocations: 0 / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1699, allocations: 8.062 kB / 448 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1699, allocations: 4 kB / 448 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.1703, allocations: 358.4 kB / 448.3 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1703, allocations: 0 / 448.3 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.1704, allocations: 16 kB / 448.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1704, allocations: 0 / 448.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1704, allocations: 4 kB / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1704, allocations: 3.938 kB / 448.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1704, allocations: 0 / 448.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.1707, allocations: 195.3 kB / 448.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.1708, allocations: 89.02 kB / 448.6 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1708, allocations: 3.984 kB / 448.6 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.1709, allocations: 7.938 kB / 448.6 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.1709, allocations: 4 kB / 448.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1709, allocations: 3.938 kB / 448.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1711, allocations: 164 kB / 448.8 MB, free: 7.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1711, allocations: 0 / 448.8 MB, free: 7.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1713, allocations: 23.98 kB / 448.8 MB, free: 7.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009679/0.1723, allocations: 397.9 kB / 449.2 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1725, allocations: 59.89 kB / 449.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1725, allocations: 0 / 449.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.1726, allocations: 31.98 kB / 449.3 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.173, allocations: 12 kB / 449.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.1735, allocations: 245.2 kB / 449.6 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1739, allocations: 0.6965 MB / 450.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.92e-05/0.174, allocations: 11.97 kB / 450.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.174, allocations: 11.44 kB / 450.3 MB, free: 5.691 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.174, allocations: 0 / 450.3 MB, free: 5.691 MB / 382.1 MB Notification: Performance of Templates: time 0.004128/0.1782, allocations: 1.055 MB / 451.3 MB, free: 4.637 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches