Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009692/0.0009693, allocations: 179.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 222.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008053/0.0008057, allocations: 87.84 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4015/0.4015, allocations: 43.56 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004006, allocations: 12 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1519, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.00213/0.1541, allocations: 1.271 MB / 491.5 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1554, allocations: 0.8947 MB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.1555, allocations: 0 / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.1557, allocations: 11.92 kB / 492.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.1559, allocations: 35.91 kB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1561, allocations: 83.78 kB / 492.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1563, allocations: 63.81 kB / 492.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1564, allocations: 24.16 kB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.1565, allocations: 23.86 kB / 492.6 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1566, allocations: 23.91 kB / 492.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1567, allocations: 4 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.1568, allocations: 35.98 kB / 492.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.1568, allocations: 19.91 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.1569, allocations: 37.64 kB / 492.8 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.157, allocations: 67.89 kB / 492.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.157, allocations: 4 kB / 492.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.157, allocations: 3.938 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1571, allocations: 0 / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005858/0.1576, allocations: 379.4 kB / 493.2 MB, free: 7.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1577, allocations: 12.02 kB / 493.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.1577, allocations: 11.86 kB / 493.2 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.158, allocations: 186.9 kB / 493.4 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1581, allocations: 3.938 kB / 493.4 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.1581, allocations: 12 kB / 493.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.1583, allocations: 80.25 kB / 493.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1583, allocations: 0 / 493.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.1584, allocations: 7.984 kB / 493.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1584, allocations: 0 / 493.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1585, allocations: 47.86 kB / 493.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.1591, allocations: 385 kB / 493.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.1594, allocations: 93.14 kB / 494 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.1595, allocations: 33.8 kB / 494.1 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1595, allocations: 0 / 494.1 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.1596, allocations: 38.5 kB / 494.1 MB, free: 6.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1596, allocations: 0 / 494.1 MB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007839/0.1604, allocations: 241 kB / 494.3 MB, free: 6.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.1605, allocations: 110.8 kB / 494.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1606, allocations: 137.6 kB / 494.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1607, allocations: 33.58 kB / 494.6 MB, free: 6.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.1607, allocations: 103.9 kB / 494.7 MB, free: 6.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1608, allocations: 31.5 kB / 494.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.1608, allocations: 3.938 kB / 494.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.161, allocations: 322.8 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1611, allocations: 39.97 kB / 495.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1612, allocations: 54.55 kB / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1613, allocations: 44.11 kB / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1613, allocations: 0 / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002676/0.1616, allocations: 137.5 kB / 495.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1617, allocations: 7.984 kB / 495.3 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1617, allocations: 0 / 495.3 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1617, allocations: 4 kB / 495.3 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.1618, allocations: 19.98 kB / 495.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1618, allocations: 4 kB / 495.4 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.1619, allocations: 8 kB / 495.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1619, allocations: 4 kB / 495.4 MB, free: 5.559 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001318/0.162, allocations: 125.8 kB / 495.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.1621, allocations: 11.86 kB / 495.5 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.1625, allocations: 150.1 kB / 495.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1625, allocations: 0 / 495.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1625, allocations: 0 / 495.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1625, allocations: 4 kB / 495.7 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.1632, allocations: 0.5104 MB / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1632, allocations: 64 / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.1633, allocations: 27.94 kB / 496.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.1633, allocations: 3.984 kB / 496.2 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1634, allocations: 4 kB / 496.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1634, allocations: 0 / 496.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1634, allocations: 0 / 496.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.1638, allocations: 307.5 kB / 496.5 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.1639, allocations: 89 kB / 496.6 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1639, allocations: 4 kB / 496.6 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.164, allocations: 16.27 kB / 496.6 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.1641, allocations: 4 kB / 496.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1641, allocations: 8 kB / 496.6 MB, free: 4.199 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1642, allocations: 115.1 kB / 496.7 MB, free: 4.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1642, allocations: 0 / 496.7 MB, free: 4.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.1645, allocations: 28 kB / 496.8 MB, free: 4.059 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001075/0.1656, allocations: 445.6 kB / 497.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.1659, allocations: 91.88 kB / 497.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1659, allocations: 4 kB / 497.3 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.166, allocations: 47.91 kB / 497.3 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1664, allocations: 15.95 kB / 497.4 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.167, allocations: 272.5 kB / 497.6 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.1673, allocations: 0.7043 MB / 498.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.1674, allocations: 15.44 kB / 498.3 MB, free: 2.453 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1674, allocations: 0 / 498.3 MB, free: 2.453 MB / 378.7 MB Notification: Performance of Templates: time 0.003761/0.1712, allocations: 1.813 MB / 0.4884 GB, free: 0.6406 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches