Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 88.19 kB / 15.7 MB, free: 460 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.002368/0.002368, allocations: 172.3 kB / 16.58 MB, free: 6.84 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.142/2.142, allocations: 205.4 MB / 222.7 MB, free: 5.875 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.4828/0.4828, allocations: 43.57 MB / 314.6 MB, free: 8.648 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.0005184/0.0005184, allocations: 22.97 kB / 384 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1479, allocations: 58.85 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002536/0.1505, allocations: 1.317 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006772/0.1512, allocations: 303.9 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.1513, allocations: 4 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.1519, allocations: 435.2 kB / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.1523, allocations: 247.5 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1527, allocations: 99.88 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.1529, allocations: 131.7 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.153, allocations: 8.188 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1532, allocations: 103.7 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.1534, allocations: 171.7 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1535, allocations: 0 / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.1536, allocations: 27.98 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1537, allocations: 79.69 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.1537, allocations: 69.52 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.154, allocations: 180 kB / 446 MB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.154, allocations: 0 / 446 MB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.154, allocations: 0 / 446 MB, free: 9.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.154, allocations: 0 / 446 MB, free: 9.871 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.000765/0.1548, allocations: 0.6104 MB / 446.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1549, allocations: 12.02 kB / 446.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.1549, allocations: 43.48 kB / 446.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.1553, allocations: 275.2 kB / 446.9 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1553, allocations: 4 kB / 446.9 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.1553, allocations: 4 kB / 446.9 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1555, allocations: 65.67 kB / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1555, allocations: 0 / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1555, allocations: 0 / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1555, allocations: 0 / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1557, allocations: 43.92 kB / 447 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.1561, allocations: 384.7 kB / 447.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1563, allocations: 50.55 kB / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.1564, allocations: 32.94 kB / 447.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1564, allocations: 0 / 447.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1564, allocations: 30.56 kB / 447.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1564, allocations: 0 / 447.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008041/0.1572, allocations: 327.8 kB / 447.8 MB, free: 7.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1573, allocations: 51.41 kB / 447.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/0.1581, allocations: 0.8535 MB / 448.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1582, allocations: 29.7 kB / 448.7 MB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.1584, allocations: 212 kB / 448.9 MB, free: 6.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1584, allocations: 19.66 kB / 449 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1584, allocations: 3.938 kB / 449 MB, free: 6.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1586, allocations: 366.8 kB / 449.3 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1587, allocations: 39.97 kB / 449.4 MB, free: 6.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.1588, allocations: 44.03 kB / 449.4 MB, free: 6.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.159, allocations: 44.2 kB / 449.5 MB, free: 6.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.159, allocations: 0 / 449.5 MB, free: 6.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003059/0.1593, allocations: 157.2 kB / 449.6 MB, free: 5.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1593, allocations: 7.953 kB / 449.6 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1593, allocations: 0 / 449.6 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1593, allocations: 0 / 449.6 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1595, allocations: 23.98 kB / 449.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1595, allocations: 4 kB / 449.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.1596, allocations: 23.83 kB / 449.7 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1596, allocations: 7.938 kB / 449.7 MB, free: 5.926 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 (7): * Single equations (assignments): 7 * 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.0002221/0.1598, allocations: 213.8 kB / 449.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.1599, allocations: 35.81 kB / 449.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.1603, allocations: 181.4 kB / 450.1 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1603, allocations: 3.984 kB / 450.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1603, allocations: 0 / 450.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1603, allocations: 0 / 450.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.1609, allocations: 0.5061 MB / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1609, allocations: 7.953 kB / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.161, allocations: 27.92 kB / 450.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.161, allocations: 0 / 450.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1611, allocations: 4 kB / 450.6 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1611, allocations: 4 kB / 450.6 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1611, allocations: 0 / 450.6 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.1614, allocations: 259 kB / 450.9 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.1615, allocations: 120.5 kB / 451 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1615, allocations: 0 / 451 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.1616, allocations: 12 kB / 451 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.1617, allocations: 11.98 kB / 451 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1617, allocations: 4 kB / 451 MB, free: 4.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000606/0.1623, allocations: 0.6433 MB / 451.7 MB, free: 3.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1623, allocations: 0 / 451.7 MB, free: 3.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1626, allocations: 24 kB / 451.7 MB, free: 3.781 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 (7): * Single equations (assignments): 7 * 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.0009863/0.1636, allocations: 405.2 kB / 452.1 MB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.1639, allocations: 95.88 kB / 452.2 MB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1639, allocations: 4 kB / 452.2 MB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.164, allocations: 43.97 kB / 452.2 MB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.1644, allocations: 25.83 kB / 452.3 MB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1657, allocations: 0.8418 MB / 453.1 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.1662, allocations: 0.8223 MB / 453.9 MB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.1663, allocations: 15.98 kB / 454 MB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.1664, allocations: 11.44 kB / 454 MB, free: 1.504 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1664, allocations: 3.938 kB / 454 MB, free: 1.5 MB / 382.1 MB Notification: Performance of Templates: time 0.005072/0.1714, allocations: 1.396 MB / 455.4 MB, free: 104 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches