Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001497/0.001497, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.03 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1383, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003817/0.1421, allocations: 1.946 MB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.144, allocations: 1.037 MB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.637e-05/0.1441, allocations: 4 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1443, allocations: 39.59 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.1447, allocations: 147.4 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009286/0.1456, allocations: 421 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.1459, allocations: 259.2 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1461, allocations: 52.38 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.1464, allocations: 119.5 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1466, allocations: 175.4 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.1467, allocations: 12 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1468, allocations: 59.97 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1469, allocations: 139.5 kB / 473.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1471, allocations: 150.8 kB / 473.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.1474, allocations: 354.9 kB / 474.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1475, allocations: 0 / 474.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1475, allocations: 4 kB / 474.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1475, allocations: 0 / 474.1 MB, free: 9.469 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008962/0.1484, allocations: 0.7308 MB / 474.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1484, allocations: 12.03 kB / 474.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.1485, allocations: 52.28 kB / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.149, allocations: 439.9 kB / 475.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.149, allocations: 4.375 kB / 475.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.1491, allocations: 16.12 kB / 475.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.1494, allocations: 131 kB / 475.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1494, allocations: 3.938 kB / 475.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1494, allocations: 8 kB / 475.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1494, allocations: 0 / 475.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1496, allocations: 75.89 kB / 475.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1506, allocations: 0.6527 MB / 476.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1509, allocations: 105.2 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.151, allocations: 53.8 kB / 476.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.151, allocations: 7.984 kB / 476.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.151, allocations: 38.5 kB / 476.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.151, allocations: 0 / 476.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001453/0.1525, allocations: 0.4949 MB / 476.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.1526, allocations: 85.03 kB / 477 MB, free: 6.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/0.1535, allocations: 0.8465 MB / 477.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1536, allocations: 29.7 kB / 477.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.1538, allocations: 240.3 kB / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.1539, allocations: 51.2 kB / 478.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.1539, allocations: 37.7 kB / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1541, allocations: 366.7 kB / 478.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1543, allocations: 63.89 kB / 478.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1544, allocations: 71.92 kB / 478.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.1548, allocations: 141.8 kB / 478.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1548, allocations: 0 / 478.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004296/0.1552, allocations: 216.9 kB / 479.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1553, allocations: 7.281 kB / 479.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1553, allocations: 4.062 kB / 479.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1553, allocations: 0 / 479.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.1555, allocations: 47.91 kB / 479.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1555, allocations: 4.219 kB / 479.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1557, allocations: 7.984 kB / 479.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1557, allocations: 11.92 kB / 479.1 MB, free: 4.195 MB / 350.1 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 (16): * Single equations (assignments): 16 * 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.0002249/0.1559, allocations: 205.7 kB / 479.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.156, allocations: 51.34 kB / 479.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005813/0.1566, allocations: 274 kB / 479.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1566, allocations: 0 / 479.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1566, allocations: 0 / 479.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1567, allocations: 4 kB / 479.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.1577, allocations: 0.7629 MB / 480.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1577, allocations: 0 / 480.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.1579, allocations: 35.97 kB / 480.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1579, allocations: 0 / 480.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1579, allocations: 4 kB / 480.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1579, allocations: 3.938 kB / 480.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.158, allocations: 4 kB / 480.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.1585, allocations: 398 kB / 480.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1586, allocations: 128.5 kB / 481 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.1587, allocations: 8 kB / 481 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.1589, allocations: 19.92 kB / 481 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.159, allocations: 15.98 kB / 481 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.159, allocations: 7.984 kB / 481 MB, free: 2.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007139/0.1597, allocations: 0.6198 MB / 481.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1597, allocations: 0 / 481.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.1601, allocations: 44 kB / 481.7 MB, free: 1.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.001/0.1611, allocations: 402.2 kB / 482.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004807/0.1616, allocations: 151.8 kB / 482.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1616, allocations: 4 kB / 482.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.1618, allocations: 75.89 kB / 482.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.1625, allocations: 74.48 kB / 482.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1638, allocations: 0.8756 MB / 483.3 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.1643, allocations: 0.8495 MB / 484.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000173/0.1645, allocations: 82.91 kB / 484.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.1646, allocations: 39.42 kB / 484.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1646, allocations: 0 / 484.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Templates: time 0.008707/0.1733, allocations: 3.911 MB / 488.1 MB, free: 11.2 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches