Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008713, allocations: 92.59 kB / 17.35 MB, free: 6.027 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.001146/0.001146, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.591/1.591, allocations: 223.3 MB / 242.3 MB, free: 92 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2104/0.2104, allocations: 44.26 MB / 337.7 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004162, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 61.92 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00258/0.1363, allocations: 1.652 MB / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1382, allocations: 0.9358 MB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1383, allocations: 3.938 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.1389, allocations: 247.4 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.1393, allocations: 183.5 kB / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.141, allocations: 0.6022 MB / 475.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.1415, allocations: 295.2 kB / 476.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.1418, allocations: 84.53 kB / 476.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.142, allocations: 103.5 kB / 476.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.1423, allocations: 183.3 kB / 476.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.1423, allocations: 4 kB / 476.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1425, allocations: 59.97 kB / 476.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1426, allocations: 91.61 kB / 476.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.1428, allocations: 128.8 kB / 476.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.1431, allocations: 282.8 kB / 477.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1432, allocations: 4 kB / 477.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1432, allocations: 0 / 477.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1432, allocations: 4 kB / 477.1 MB, free: 8.531 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007232/0.1439, allocations: 0.5798 MB / 477.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.144, allocations: 8.031 kB / 477.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.144, allocations: 36.47 kB / 477.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1444, allocations: 310.3 kB / 478 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1444, allocations: 12.36 kB / 478 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1444, allocations: 8.375 kB / 478 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.1448, allocations: 133.7 kB / 478.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1448, allocations: 4 kB / 478.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1448, allocations: 4 kB / 478.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.1448, allocations: 4 kB / 478.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.1451, allocations: 95.86 kB / 478.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.1458, allocations: 0.4962 MB / 478.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.146, allocations: 118.4 kB / 478.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.1461, allocations: 40.84 kB / 478.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.1462, allocations: 4 kB / 478.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1462, allocations: 34.56 kB / 479 MB, free: 6.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.804e-06/0.1462, allocations: 0 / 479 MB, free: 6.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001017/0.1473, allocations: 455.2 kB / 479.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.1473, allocations: 51.41 kB / 479.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.1478, allocations: 0.5249 MB / 480 MB, free: 5.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1479, allocations: 33.7 kB / 480 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.148, allocations: 196.3 kB / 480.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.1481, allocations: 63.09 kB / 480.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1481, allocations: 21.7 kB / 480.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1483, allocations: 350.8 kB / 480.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1484, allocations: 71.89 kB / 480.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1486, allocations: 71.95 kB / 480.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.1489, allocations: 162.8 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1489, allocations: 3.938 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003839/0.1493, allocations: 237 kB / 481.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1493, allocations: 4 kB / 481.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1493, allocations: 0 / 481.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1493, allocations: 0 / 481.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1495, allocations: 43.86 kB / 481.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1495, allocations: 4 kB / 481.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.1496, allocations: 11.98 kB / 481.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1496, allocations: 4 kB / 481.2 MB, free: 4.16 MB / 350.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 (17): * Single equations (assignments): 17 * 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.0001659/0.1498, allocations: 173.8 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.1498, allocations: 43.52 kB / 481.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.1504, allocations: 283.6 kB / 481.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1504, allocations: 4 kB / 481.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1504, allocations: 0 / 481.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1504, allocations: 4 kB / 481.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/0.1513, allocations: 0.6738 MB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1513, allocations: 0 / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1514, allocations: 35.97 kB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1514, allocations: 4 kB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.1514, allocations: 8 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1515, allocations: 3.938 kB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1515, allocations: 7.875 kB / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.1519, allocations: 332.6 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.152, allocations: 116.7 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.152, allocations: 4 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.1521, allocations: 8 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.1522, allocations: 19.91 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1522, allocations: 7.984 kB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004016/0.1526, allocations: 395.1 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1526, allocations: 0 / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.153, allocations: 51.89 kB / 483.4 MB, free: 1.91 MB / 350.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 (17): * Single equations (assignments): 17 * 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.001772/0.1547, allocations: 0.7005 MB / 484.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.1552, allocations: 167.9 kB / 484.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1553, allocations: 4 kB / 484.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.1555, allocations: 98.55 kB / 484.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.1562, allocations: 65.5 kB / 484.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1574, allocations: 0.8103 MB / 485.2 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.158, allocations: 0.8145 MB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.1582, allocations: 53.89 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.1582, allocations: 31.42 kB / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1582, allocations: 4 kB / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.007087/0.1653, allocations: 3.104 MB / 489.2 MB, free: 12.35 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches