Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001398/0.001398, allocations: 192 kB / 18.56 MB, free: 4.434 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.346/1.346, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2024/0.2024, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 58.7 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.151, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.004897/0.1559, allocations: 1.591 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1573, allocations: 403.3 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1574, allocations: 0 / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.1579, allocations: 87.75 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.1584, allocations: 83.72 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.159, allocations: 86.52 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.1593, allocations: 79.75 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.1595, allocations: 12.19 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1596, allocations: 43.83 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1598, allocations: 51.89 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.1599, allocations: 0 / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.1601, allocations: 43.97 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-05/0.1602, allocations: 23.92 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.1603, allocations: 31.75 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.1606, allocations: 99.92 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1607, allocations: 0 / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1607, allocations: 0 / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1607, allocations: 3.938 kB / 471.9 MB, free: 11.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009195/0.1616, allocations: 418.9 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/0.1617, allocations: 8.031 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.1618, allocations: 12.84 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1621, allocations: 202.6 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1622, allocations: 4.375 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1622, allocations: 4.375 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1624, allocations: 53.62 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1625, allocations: 0 / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1625, allocations: 4 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1625, allocations: 0 / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1627, allocations: 39.89 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.1632, allocations: 292.7 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1633, allocations: 42.56 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.1634, allocations: 16.88 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1635, allocations: 11.94 kB / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1635, allocations: 34.56 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1635, allocations: 0 / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00124/0.1647, allocations: 221.1 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1648, allocations: 51.41 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.1653, allocations: 230.7 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1653, allocations: 25.7 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1654, allocations: 108.1 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.1655, allocations: 23.7 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.1656, allocations: 17.72 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1657, allocations: 322.8 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1659, allocations: 31.98 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.844e-05/0.166, allocations: 23.97 kB / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.1662, allocations: 60.78 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1662, allocations: 0 / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003106/0.1666, allocations: 109.7 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1666, allocations: 7.438 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1666, allocations: 4.078 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.1666, allocations: 0 / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.1669, allocations: 19.98 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1669, allocations: 7.922 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.167, allocations: 7.938 kB / 474.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.167, allocations: 4 kB / 474.2 MB, free: 9.156 MB / 350.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 (8): * Single equations (assignments): 8 * 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.0001379/0.1671, allocations: 133.8 kB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.1672, allocations: 15.81 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.1676, allocations: 119 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1676, allocations: 0 / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1676, allocations: 7.875 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1676, allocations: 0 / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.1683, allocations: 399.3 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1683, allocations: 11.97 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.691e-05/0.1684, allocations: 19.92 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1685, allocations: 0 / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1685, allocations: 4 kB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1685, allocations: 3.938 kB / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1685, allocations: 0 / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.169, allocations: 208.2 kB / 475.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.1691, allocations: 88.95 kB / 475.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1691, allocations: 0 / 475.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1692, allocations: 7.984 kB / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.1693, allocations: 4.422 kB / 475.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1693, allocations: 4 kB / 475.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.1695, allocations: 173 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1696, allocations: 0 / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004013/0.17, allocations: 24 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001715/0.1717, allocations: 449.8 kB / 475.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.1721, allocations: 75.95 kB / 475.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1721, allocations: 0 / 475.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1722, allocations: 36.08 kB / 476 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.1729, allocations: 27.03 kB / 476 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.1736, allocations: 251.4 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.1742, allocations: 0.7196 MB / 477 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.153e-05/0.1743, allocations: 16.66 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.1744, allocations: 19.31 kB / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1744, allocations: 0 / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of Templates: time 0.00595/0.1803, allocations: 1.331 MB / 478.3 MB, free: 5.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches