Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 97.59 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002094, allocations: 203 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.7 MB / 246.4 MB, free: 9.727 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.18 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 8.219 kB / 418.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 63.58 MB / 482.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.001901/0.1362, allocations: 1.283 MB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1377, allocations: 1.093 MB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.1378, allocations: 0 / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.138, allocations: 27.91 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.1382, allocations: 63.83 kB / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1385, allocations: 99.75 kB / 485 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.1386, allocations: 55.83 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.1387, allocations: 11.98 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.1388, allocations: 19.92 kB / 485.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1389, allocations: 31.84 kB / 485.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.139, allocations: 4 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1391, allocations: 87.88 kB / 485.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.1392, allocations: 3.938 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.1392, allocations: 33.7 kB / 485.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1394, allocations: 103.8 kB / 485.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1394, allocations: 0 / 485.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1394, allocations: 4 kB / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1394, 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.0004535/0.1399, allocations: 389.6 kB / 485.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1399, allocations: 8.031 kB / 485.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.1399, allocations: 11.84 kB / 485.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1402, allocations: 194.9 kB / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1402, allocations: 0 / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1402, allocations: 3.906 kB / 485.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1404, allocations: 67.39 kB / 486 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1404, allocations: 0 / 486 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1404, allocations: 4 kB / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1404, allocations: 4 kB / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.001e-05/0.1405, allocations: 27.92 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.1409, allocations: 284.9 kB / 486.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1411, allocations: 50.56 kB / 486.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.1412, allocations: 16.94 kB / 486.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1412, allocations: 7.984 kB / 486.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1412, allocations: 34.56 kB / 486.4 MB, free: 324 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1412, allocations: 3.938 kB / 486.4 MB, free: 320 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005594/0.1418, allocations: 165.3 kB / 486.6 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.1419, allocations: 85.11 kB / 486.7 MB, free: 44 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.142, allocations: 153.9 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1421, allocations: 29.7 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.1421, allocations: 88.14 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1421, allocations: 11.81 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1422, allocations: 3.938 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1423, allocations: 322.8 kB / 487.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.1423, allocations: 27.98 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.1424, allocations: 37.69 kB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.86e-05/0.1425, allocations: 27.98 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1425, allocations: 0 / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001804/0.1427, allocations: 101.6 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1427, allocations: 4 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1427, allocations: 0 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1428, allocations: 0 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.1428, allocations: 16.19 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1428, allocations: 3.938 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.1429, allocations: 15.98 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.1429, allocations: 7.953 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 0.0001745/0.1431, allocations: 114.4 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.1431, allocations: 7.906 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.1434, allocations: 106 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1434, allocations: 0 / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1434, allocations: 4 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1434, allocations: 0 / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.1438, allocations: 370.4 kB / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1438, allocations: 0 / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.1439, allocations: 19.98 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1439, allocations: 0 / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1439, allocations: 0 / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1439, allocations: 0 / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1439, allocations: 0 / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1442, allocations: 199.3 kB / 488.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.1442, allocations: 93 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1443, allocations: 0 / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.1443, allocations: 4 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.1444, allocations: 7.984 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1444, allocations: 4 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.242e-05/0.1445, allocations: 113.6 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1445, allocations: 4 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1448, allocations: 43.98 kB / 488.6 MB, free: 14 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.001084/0.1459, allocations: 0.4897 MB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1461, allocations: 55.91 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1461, allocations: 0 / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.1462, allocations: 39.97 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.0002864/0.1465, allocations: 15.75 kB / 489.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.1469, 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.0002589/0.1472, allocations: 0.6965 MB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.44e-05/0.1472, allocations: 11.98 kB / 490.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.1473, allocations: 19.42 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1473, allocations: 0 / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Templates: time 0.004532/0.1518, allocations: 1.708 MB / 491.8 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches