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.0009105/0.0009104, allocations: 102.1 kB / 16.99 MB, free: 5.941 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.0009587/0.0009588, allocations: 182 kB / 17.87 MB, free: 5.609 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.59/1.59, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2774/0.2774, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002879, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 61.93 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002851/0.1374, allocations: 1.603 MB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1389, allocations: 0.8932 MB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.139, allocations: 0 / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1393, allocations: 27.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1396, allocations: 135.6 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000859/0.1405, allocations: 387.5 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1408, allocations: 171.5 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.141, allocations: 44.56 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1412, allocations: 99.58 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1414, allocations: 143.5 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.1414, allocations: 4 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1416, allocations: 32 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1417, allocations: 131.5 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.1418, allocations: 77.45 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.1421, allocations: 275.7 kB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1421, allocations: 0 / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1421, allocations: 4 kB / 475.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1422, allocations: 0 / 475.5 MB, free: 9.707 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.001096/0.1433, allocations: 0.6998 MB / 476.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1433, allocations: 8.031 kB / 476.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1434, allocations: 51.34 kB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.1441, allocations: 431 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1441, allocations: 8 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.1442, allocations: 8 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.1445, allocations: 139.3 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1445, allocations: 0 / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1445, allocations: 4 kB / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.1446, allocations: 7.984 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.1448, allocations: 91.83 kB / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1458, allocations: 0.676 MB / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.146, allocations: 113.2 kB / 477.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.1461, allocations: 11.92 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1461, allocations: 30.69 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.835e-06/0.1462, allocations: 7.984 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001471/0.1477, allocations: 0.5371 MB / 478.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1477, allocations: 85.09 kB / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009588/0.1487, allocations: 0.8778 MB / 479.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1487, allocations: 29.7 kB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.1489, allocations: 248.2 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.149, allocations: 47.27 kB / 479.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.149, allocations: 0 / 479.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1492, allocations: 370.8 kB / 479.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.1493, allocations: 63.95 kB / 480 MB, free: 4.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.1496, allocations: 85.61 kB / 480 MB, free: 4.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.1498, allocations: 75.91 kB / 480.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1498, allocations: 0 / 480.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004699/0.1502, allocations: 229 kB / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1503, allocations: 11.95 kB / 480.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1503, allocations: 0 / 480.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1503, allocations: 0 / 480.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1505, allocations: 47.91 kB / 480.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1505, allocations: 0 / 480.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1507, allocations: 19.98 kB / 480.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.1507, allocations: 4 kB / 480.4 MB, free: 4.477 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.1509, allocations: 210.5 kB / 480.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.151, allocations: 51.34 kB / 480.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/0.1516, allocations: 298.9 kB / 481 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1516, allocations: 0 / 481 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1516, allocations: 0 / 481 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1516, allocations: 8 kB / 481 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.1529, allocations: 0.7825 MB / 481.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1529, allocations: 0 / 481.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.1531, allocations: 43.97 kB / 481.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1531, allocations: 4 kB / 481.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1531, allocations: 0 / 481.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1531, allocations: 0 / 481.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1531, allocations: 8 kB / 481.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.1537, allocations: 431.5 kB / 482.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.154, allocations: 152.4 kB / 482.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.154, allocations: 4 kB / 482.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1543, allocations: 19.98 kB / 482.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.1543, allocations: 7.984 kB / 482.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1544, allocations: 12 kB / 482.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009825/0.1554, allocations: 0.6432 MB / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1554, allocations: 0 / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004437/0.1558, allocations: 48 kB / 483.1 MB, free: 1.668 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 (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.001147/0.157, allocations: 411.6 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004892/0.1575, allocations: 151.9 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1575, allocations: 3.938 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.1577, allocations: 92.2 kB / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.1583, allocations: 70.52 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1599, allocations: 0.9292 MB / 484.8 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.1604, allocations: 0.8615 MB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.1606, allocations: 87.14 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1607, allocations: 39.42 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1607, allocations: 0 / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Templates: time 0.009399/0.1701, allocations: 3.747 MB / 489.5 MB, free: 11.41 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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches