Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 99.31 kB / 17.01 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001163, allocations: 194.6 kB / 17.91 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.7 MB / 246.4 MB, free: 9.777 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2622/0.2622, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 8.219 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 63.57 MB / 482.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002343/0.1438, allocations: 1.291 MB / 483.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1458, allocations: 1.089 MB / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.585e-05/0.146, allocations: 3.938 kB / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1462, allocations: 19.92 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1466, allocations: 63.81 kB / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.147, allocations: 103.3 kB / 485 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1472, allocations: 59.78 kB / 485 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1473, allocations: 7.984 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.1474, allocations: 23.92 kB / 485.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1475, allocations: 27.84 kB / 485.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1476, allocations: 8 kB / 485.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.1478, allocations: 75.89 kB / 485.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.1478, allocations: 15.97 kB / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.1479, allocations: 37.64 kB / 485.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1481, allocations: 95.8 kB / 485.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1481, allocations: 3.938 kB / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1481, allocations: 0 / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1481, allocations: 0 / 485.3 MB, free: 1.566 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005773/0.1487, allocations: 393.6 kB / 485.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1488, allocations: 12.03 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.1488, allocations: 7.906 kB / 485.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1491, allocations: 193.8 kB / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1491, allocations: 0 / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1491, allocations: 7.906 kB / 485.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1493, allocations: 67.39 kB / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1493, allocations: 0 / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1494, allocations: 0 / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1494, allocations: 4 kB / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.1495, allocations: 27.97 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.1499, allocations: 292.8 kB / 486.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1502, allocations: 46.56 kB / 486.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.1502, allocations: 20.94 kB / 486.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1503, allocations: 0 / 486.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1503, allocations: 30.56 kB / 486.4 MB, free: 328 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.1503, allocations: 4 kB / 486.4 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006352/0.1509, allocations: 181.2 kB / 486.6 MB, free: 136 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.151, allocations: 77.11 kB / 486.7 MB, free: 40 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1512, allocations: 150 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1512, allocations: 25.7 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.1513, allocations: 100.1 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.1513, allocations: 15.81 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.1513, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1515, allocations: 318.8 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.1515, allocations: 23.98 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.1516, allocations: 41.7 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/0.1517, allocations: 23.98 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1517, allocations: 3.984 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.1519, allocations: 93.61 kB / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1519, allocations: 4 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1519, allocations: 0 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1519, allocations: 4 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/0.152, allocations: 19.92 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.152, allocations: 3.938 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.1521, allocations: 7.984 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1521, allocations: 11.95 kB / 487.5 MB, free: 15.17 MB / 366.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 8.33e-05/0.1522, allocations: 114.4 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.1522, allocations: 7.906 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.1525, allocations: 113.9 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1525, allocations: 4 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1525, allocations: 0 / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1525, allocations: 0 / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.153, allocations: 366.4 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.153, allocations: 288 / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.153, allocations: 16 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1531, allocations: 0 / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1531, allocations: 7.984 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1531, allocations: 384 / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1531, allocations: 0 / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.1533, allocations: 207.3 kB / 488.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.1534, allocations: 85.02 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1534, allocations: 4 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.1535, allocations: 11.98 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.1535, allocations: 0 / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.1535, allocations: 4 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.259e-05/0.1536, allocations: 117.4 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1536, allocations: 0 / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1539, allocations: 43.98 kB / 488.6 MB, free: 13.98 MB / 366.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.00121/0.1552, allocations: 486.7 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1554, allocations: 67.89 kB / 489.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1554, allocations: 0 / 489.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.1555, allocations: 31.98 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1558, allocations: 15.98 kB / 489.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.1563, allocations: 192.6 kB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1565, allocations: 0.6926 MB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.964e-05/0.1566, allocations: 19.97 kB / 490.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.1567, allocations: 19.42 kB / 490.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1567, allocations: 4 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Templates: time 0.004734/0.1614, allocations: 1.685 MB / 491.8 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches