Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000793/0.0007924, 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.001185/0.001185, allocations: 178.4 kB / 16.91 MB, free: 6.633 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.05/2.05, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.4905/0.4905, allocations: 43.58 MB / 315 MB, free: 8.984 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.0005661/0.0005661, allocations: 12 kB / 384.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1512, allocations: 58.86 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002315/0.1536, allocations: 1.333 MB / 444.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006937/0.1543, allocations: 315.6 kB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.1543, allocations: 0 / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006187/0.1549, allocations: 447.2 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.1553, allocations: 243.6 kB / 445.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1556, allocations: 107.8 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.1558, allocations: 155.6 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.156, allocations: 16.17 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1561, allocations: 99.8 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1564, allocations: 199.6 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1564, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.1565, allocations: 39.97 kB / 446.4 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1566, allocations: 75.7 kB / 446.4 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1568, allocations: 124.8 kB / 446.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.1571, allocations: 243.2 kB / 446.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1571, allocations: 0 / 446.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1571, allocations: 0 / 446.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1571, allocations: 0 / 446.8 MB, free: 9.535 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007611/0.1579, allocations: 0.5833 MB / 447.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1579, allocations: 8.031 kB / 447.4 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.158, allocations: 48.38 kB / 447.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1584, allocations: 292.2 kB / 447.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1584, allocations: 384 / 447.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.1584, allocations: 8.375 kB / 447.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1586, allocations: 57.61 kB / 447.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.1586, allocations: 3.984 kB / 447.8 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1586, allocations: 4 kB / 447.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1587, allocations: 0 / 447.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1588, allocations: 39.92 kB / 447.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.1594, allocations: 380.7 kB / 448.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.1596, allocations: 42.5 kB / 448.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.1597, allocations: 20.95 kB / 448.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.1597, allocations: 7.969 kB / 448.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.1598, allocations: 34.56 kB / 448.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.1598, allocations: 0 / 448.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007259/0.1605, allocations: 236 kB / 448.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.1606, allocations: 59.34 kB / 448.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008775/0.1615, allocations: 0.8535 MB / 449.4 MB, free: 6.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1615, allocations: 25.7 kB / 449.5 MB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.1617, allocations: 228 kB / 449.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1618, allocations: 15.81 kB / 449.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.1618, allocations: 9.719 kB / 449.7 MB, free: 6.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.162, allocations: 366.8 kB / 450.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.1621, allocations: 19.98 kB / 450.1 MB, free: 6.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.1622, allocations: 23.98 kB / 450.1 MB, free: 5.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1623, allocations: 52.84 kB / 450.2 MB, free: 5.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1623, allocations: 0 / 450.2 MB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002777/0.1626, allocations: 125.1 kB / 450.3 MB, free: 5.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1626, allocations: 8 kB / 450.3 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1626, allocations: 7.938 kB / 450.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1627, allocations: 0 / 450.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.1627, allocations: 12 kB / 450.3 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1627, allocations: 0 / 450.3 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.1628, allocations: 15.83 kB / 450.3 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1628, allocations: 0 / 450.3 MB, free: 5.762 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.000212/0.163, allocations: 217.8 kB / 450.5 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.1631, allocations: 39.53 kB / 450.6 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.1634, allocations: 144.9 kB / 450.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1634, allocations: 0 / 450.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1634, allocations: 320 / 450.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.1634, allocations: 7.938 kB / 450.7 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.1639, allocations: 466.5 kB / 451.2 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1639, allocations: 0 / 451.2 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.164, allocations: 19.92 kB / 451.2 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.164, allocations: 0 / 451.2 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.164, allocations: 7.938 kB / 451.2 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.164, allocations: 4 kB / 451.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1641, allocations: 0 / 451.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.1644, allocations: 211 kB / 451.4 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.1644, allocations: 120.5 kB / 451.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.1645, allocations: 7.938 kB / 451.6 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.1646, allocations: 4 kB / 451.6 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.1646, allocations: 7.984 kB / 451.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1646, allocations: 0 / 451.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006943/0.1653, allocations: 0.6472 MB / 452.2 MB, free: 3.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.02e-07/0.1653, allocations: 0 / 452.2 MB, free: 3.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1656, allocations: 24 kB / 452.2 MB, free: 3.75 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.0009519/0.1665, allocations: 414 kB / 452.6 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1668, allocations: 51.97 kB / 452.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1668, allocations: 0 / 452.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.1669, allocations: 31.98 kB / 452.7 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1672, allocations: 25.95 kB / 452.8 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1685, allocations: 0.8529 MB / 453.6 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.169, allocations: 0.8262 MB / 454.4 MB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.44e-05/0.169, allocations: 11.98 kB / 454.4 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.1691, allocations: 11.44 kB / 454.5 MB, free: 1.512 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1691, allocations: 0 / 454.5 MB, free: 1.512 MB / 382.1 MB Notification: Performance of Templates: time 0.004764/0.1739, allocations: 1.331 MB / 455.8 MB, free: 184 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches