Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001293, allocations: 102.8 kB / 16.02 MB, free: 76 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.00202/0.00202, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.104/2.104, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.4826/0.4826, allocations: 43.58 MB / 315 MB, free: 8.715 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.0005109/0.0005111, allocations: 20 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1453, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002436/0.1478, allocations: 1.333 MB / 444.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007881/0.1486, allocations: 311.8 kB / 445.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.1487, allocations: 0 / 445.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.1493, allocations: 447.2 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.1497, allocations: 247.5 kB / 445.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.1501, allocations: 99.88 kB / 445.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.1504, allocations: 159.6 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1505, allocations: 12.19 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1507, allocations: 103.8 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.151, allocations: 207.5 kB / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.151, allocations: 0 / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1511, allocations: 28 kB / 446.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1512, allocations: 79.69 kB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.99e-05/0.1513, allocations: 120.7 kB / 446.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.1516, allocations: 243.2 kB / 446.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1517, allocations: 3.984 kB / 446.8 MB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.1517, allocations: 0 / 446.8 MB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1517, allocations: 3.938 kB / 446.8 MB, free: 9.301 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.0007338/0.1524, allocations: 0.5795 MB / 447.4 MB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1525, allocations: 12.03 kB / 447.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.1526, allocations: 40.38 kB / 447.4 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.1529, allocations: 300.1 kB / 447.7 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1529, allocations: 4.375 kB / 447.7 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1529, allocations: 8.359 kB / 447.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1531, allocations: 57.62 kB / 447.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1531, allocations: 3.938 kB / 447.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1531, allocations: 0 / 447.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1532, allocations: 0 / 447.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1533, allocations: 31.98 kB / 447.8 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.1538, allocations: 380.7 kB / 448.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1541, allocations: 54.48 kB / 448.2 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.1541, allocations: 12.86 kB / 448.3 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1542, allocations: 4 kB / 448.3 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1542, allocations: 30.56 kB / 448.3 MB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1542, allocations: 0 / 448.3 MB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006988/0.1549, allocations: 240.1 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.155, allocations: 51.41 kB / 448.6 MB, free: 7.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.1558, allocations: 0.8652 MB / 449.4 MB, free: 6.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1558, allocations: 25.7 kB / 449.5 MB, free: 6.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.156, allocations: 220 kB / 449.7 MB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.1561, allocations: 23.86 kB / 449.7 MB, free: 6.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1561, allocations: 9.719 kB / 449.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1563, allocations: 358.8 kB / 450.1 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.1563, allocations: 27.98 kB / 450.1 MB, free: 5.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/0.1564, allocations: 19.98 kB / 450.1 MB, free: 5.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1566, allocations: 53.02 kB / 450.2 MB, free: 5.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1566, allocations: 7.875 kB / 450.2 MB, free: 5.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002477/0.1568, allocations: 129.2 kB / 450.3 MB, free: 5.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1569, allocations: 4 kB / 450.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1569, allocations: 0 / 450.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1569, allocations: 0 / 450.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.157, allocations: 15.98 kB / 450.3 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.157, allocations: 0 / 450.3 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.157, allocations: 15.84 kB / 450.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1571, allocations: 7.984 kB / 450.3 MB, free: 5.523 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.0001901/0.1573, allocations: 213.8 kB / 450.6 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.1573, allocations: 35.53 kB / 450.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.1576, allocations: 152.9 kB / 450.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1576, allocations: 0 / 450.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1576, allocations: 0 / 450.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1577, allocations: 3.938 kB / 450.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.1582, allocations: 458.4 kB / 451.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1582, allocations: 8 kB / 451.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.1583, allocations: 11.94 kB / 451.2 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1583, allocations: 4 kB / 451.2 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1583, allocations: 3.938 kB / 451.2 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1583, allocations: 3.984 kB / 451.2 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1583, allocations: 0 / 451.2 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1586, allocations: 223.2 kB / 451.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1587, allocations: 112.5 kB / 451.5 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.1588, allocations: 7.922 kB / 451.6 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.1589, allocations: 8 kB / 451.6 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.1589, allocations: 4.266 kB / 451.6 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1589, allocations: 0 / 451.6 MB, free: 4.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006197/0.1595, allocations: 0.6511 MB / 452.2 MB, free: 3.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1595, allocations: 3.938 kB / 452.2 MB, free: 3.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1598, allocations: 28 kB / 452.2 MB, free: 3.512 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.001021/0.1609, allocations: 405.5 kB / 452.6 MB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1611, allocations: 55.97 kB / 452.7 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1611, allocations: 4 kB / 452.7 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.1612, allocations: 27.92 kB / 452.7 MB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1617, allocations: 25.95 kB / 452.8 MB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.1631, allocations: 0.853 MB / 453.6 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.1636, allocations: 0.8224 MB / 454.4 MB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.1637, allocations: 11.97 kB / 454.4 MB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.1637, allocations: 11.44 kB / 454.5 MB, free: 1.277 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1637, allocations: 0 / 454.5 MB, free: 1.277 MB / 382.1 MB Notification: Performance of Templates: time 0.2425/0.4063, allocations: 1.324 MB / 455.8 MB, free: 45.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches