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.0008648/0.0008646, allocations: 96.47 kB / 15.7 MB, free: 468 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.001481/0.001482, allocations: 169.8 kB / 16.57 MB, free: 6.062 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.099/2.099, allocations: 205.4 MB / 222.8 MB, free: 5.516 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.57 MB / 314.6 MB, free: 8.906 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.0005679/0.0005682, allocations: 16 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1456, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002002/0.1477, allocations: 1.31 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006312/0.1483, allocations: 299.9 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.1484, allocations: 4 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.149, allocations: 439.2 kB / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.1493, allocations: 239.6 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1496, allocations: 107.8 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1498, allocations: 123.7 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.1499, allocations: 12.19 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.15, allocations: 99.78 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1502, allocations: 167.7 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1503, allocations: 0 / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.1503, allocations: 31.92 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1504, allocations: 79.69 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.1505, allocations: 69.52 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1507, allocations: 176 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1507, allocations: 3.938 kB / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1507, allocations: 0 / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1508, allocations: 0 / 445.9 MB, free: 9.875 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.0007045/0.1515, allocations: 0.5949 MB / 446.5 MB, free: 9.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1515, allocations: 12.02 kB / 446.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.1516, allocations: 43.39 kB / 446.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1519, allocations: 275.3 kB / 446.9 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1519, allocations: 4 kB / 446.9 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1519, allocations: 0 / 446.9 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1521, allocations: 53.67 kB / 446.9 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1521, allocations: 0 / 446.9 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1521, allocations: 8 kB / 446.9 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1521, allocations: 0 / 446.9 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/0.1522, allocations: 35.92 kB / 447 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.1527, allocations: 380.7 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.153, allocations: 46.56 kB / 447.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.153, allocations: 16.86 kB / 447.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.153, allocations: 96 / 447.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1531, allocations: 38.5 kB / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.1531, allocations: 0 / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005878/0.1537, allocations: 243.8 kB / 447.7 MB, free: 7.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1537, allocations: 55.41 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000874/0.1546, allocations: 0.8574 MB / 448.6 MB, free: 7.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1546, allocations: 33.64 kB / 448.6 MB, free: 7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1548, allocations: 220.1 kB / 448.8 MB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1548, allocations: 11.72 kB / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.1548, allocations: 0 / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.155, allocations: 366.8 kB / 449.2 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1551, allocations: 19.98 kB / 449.2 MB, free: 6.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.1552, allocations: 32.05 kB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.47e-05/0.1553, allocations: 23.98 kB / 449.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1553, allocations: 0 / 449.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001876/0.1555, allocations: 117.2 kB / 449.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1555, allocations: 7.953 kB / 449.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1555, allocations: 0 / 449.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1555, allocations: 0 / 449.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.1556, allocations: 15.98 kB / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1556, allocations: 3.938 kB / 449.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.1557, allocations: 12 kB / 449.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.1557, allocations: 0 / 449.4 MB, free: 6.168 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.1559, allocations: 213.8 kB / 449.6 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.1559, allocations: 43.72 kB / 449.7 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.1562, allocations: 145 kB / 449.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1562, allocations: 3.984 kB / 449.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1562, allocations: 0 / 449.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1562, allocations: 4 kB / 449.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.1567, allocations: 470.4 kB / 450.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.1567, allocations: 3.953 kB / 450.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.1568, allocations: 15.98 kB / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1568, allocations: 4 kB / 450.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1568, allocations: 0 / 450.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1568, allocations: 320 / 450.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1568, allocations: 0 / 450.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1571, allocations: 230.9 kB / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.1572, allocations: 108.6 kB / 450.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1572, allocations: 7.938 kB / 450.6 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1573, allocations: 11.98 kB / 450.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.1573, allocations: 0 / 450.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1573, allocations: 4 kB / 450.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006002/0.1579, allocations: 0.6472 MB / 451.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1579, allocations: 0 / 451.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1582, allocations: 24 kB / 451.3 MB, free: 4.152 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 (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.0009126/0.1591, allocations: 405 kB / 451.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1593, allocations: 47.97 kB / 451.8 MB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1593, allocations: 0 / 451.8 MB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.1594, allocations: 35.92 kB / 451.8 MB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1598, allocations: 25.95 kB / 451.8 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1609, allocations: 0.8177 MB / 452.7 MB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.1614, allocations: 0.8262 MB / 453.5 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.185e-05/0.1615, allocations: 11.98 kB / 453.5 MB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.1615, allocations: 11.44 kB / 453.5 MB, free: 1.957 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1615, allocations: 0 / 453.5 MB, free: 1.957 MB / 382.1 MB Notification: Performance of Templates: time 0.004438/0.166, allocations: 1.322 MB / 454.8 MB, free: 0.6328 MB / 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