Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 98.36 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 194.3 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3681/0.3681, allocations: 43.49 MB / 313.6 MB, free: 8.566 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.001398/0.001398, allocations: 68.47 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.003091/0.1378, allocations: 1.678 MB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.1387, allocations: 0.6683 MB / 442.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.1387, allocations: 0 / 442.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.1389, allocations: 19.98 kB / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1391, allocations: 39.84 kB / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.1392, allocations: 0 / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1393, allocations: 39.83 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.1394, allocations: 4 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.1394, allocations: 11.92 kB / 442.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.1395, allocations: 15.92 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.1395, allocations: 0 / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.1395, allocations: 16 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.1396, allocations: 15.92 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1396, allocations: 27.78 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1397, allocations: 64.03 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1398, allocations: 0 / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1398, allocations: 0 / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1398, allocations: 0 / 442.6 MB, free: 12.12 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003966/0.1402, allocations: 367.3 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1402, allocations: 15.83 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.1403, allocations: 8.844 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1404, allocations: 172.2 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1404, allocations: 8.375 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1404, allocations: 384 / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1406, allocations: 123.3 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1407, allocations: 192 / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.1407, allocations: 11.94 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.1407, allocations: 23.92 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/0.1408, allocations: 43.86 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.1415, allocations: 0.8946 MB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.1416, allocations: 169.2 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1417, allocations: 88.12 kB / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.1417, allocations: 79.22 kB / 444.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.1417, allocations: 109.8 kB / 444.7 MB, free: 9.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1417, allocations: 0 / 444.7 MB, free: 9.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001031/0.1419, allocations: 37.55 kB / 444.7 MB, free: 9.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.1419, allocations: 130.7 kB / 444.9 MB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1421, allocations: 178.1 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1422, allocations: 25.7 kB / 445.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1423, allocations: 151.1 kB / 445.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-06/0.1423, allocations: 4 kB / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.1423, allocations: 41.7 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1425, allocations: 318.8 kB / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.1425, allocations: 39.92 kB / 445.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1427, allocations: 157.1 kB / 445.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.1429, allocations: 196.9 kB / 445.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1429, allocations: 12 kB / 446 MB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003096/0.1432, allocations: 201.5 kB / 446.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1433, allocations: 8.125 kB / 446.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1433, allocations: 4 kB / 446.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1433, allocations: 8 kB / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1434, allocations: 43.91 kB / 446.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1434, allocations: 8 kB / 446.2 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1435, allocations: 23.69 kB / 446.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1436, allocations: 8 kB / 446.3 MB, free: 8.074 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001366/0.1437, allocations: 217 kB / 446.5 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.1438, allocations: 124.8 kB / 446.6 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.657e-05/0.1439, allocations: 112.8 kB / 446.7 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/0.144, allocations: 180.3 kB / 446.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.203e-05/0.144, allocations: 180.2 kB / 447.1 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.73e-05/0.1441, allocations: 180.3 kB / 447.2 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1445, allocations: 429.1 kB / 447.6 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001163/0.1446, allocations: 108.9 kB / 447.8 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.1447, allocations: 104.9 kB / 447.9 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.1448, allocations: 180.2 kB / 448 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.1449, allocations: 176.3 kB / 448.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-05/0.145, allocations: 192.2 kB / 448.4 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.717e-05/0.1451, allocations: 180.3 kB / 448.6 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.1452, allocations: 307.7 kB / 448.9 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.1453, allocations: 193.9 kB / 449.1 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.795e-05/0.1454, allocations: 184.2 kB / 449.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.1455, allocations: 101 kB / 449.3 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.1456, allocations: 180.3 kB / 449.5 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.1457, allocations: 104.9 kB / 449.6 MB, free: 4.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1459, allocations: 140 kB / 449.8 MB, free: 4.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1459, allocations: 0 / 449.8 MB, free: 4.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.1462, allocations: 12 kB / 449.8 MB, free: 4.34 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 (0): * Single equations (assignments): 0 * 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.0005154/0.1467, allocations: 275.8 kB / 450 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1469, allocations: 75.78 kB / 450.1 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1469, allocations: 7.938 kB / 450.1 MB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1469, allocations: 0 / 450.1 MB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1472, allocations: 472.9 kB / 450.6 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.1476, allocations: 276.9 kB / 450.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.148, allocations: 0.7006 MB / 451.5 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.1482, allocations: 53.02 kB / 451.6 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.1482, allocations: 11.44 kB / 451.6 MB, free: 2.449 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1482, allocations: 8 kB / 451.6 MB, free: 2.441 MB / 382.1 MB Notification: Performance of Templates: time 0.002929/0.1512, allocations: 0.6674 MB / 452.3 MB, free: 1.777 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches