Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001185/0.001185, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 83.8 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1313, allocations: 62.43 MB / 481.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003016/0.1344, allocations: 1.685 MB / 483.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.1354, allocations: 0.5728 MB / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.1354, allocations: 0 / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.1359, allocations: 463.1 kB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.1364, allocations: 295.3 kB / 484.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1368, allocations: 183.4 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.137, allocations: 171.7 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.1371, allocations: 20.22 kB / 484.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.1372, allocations: 123.6 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.1374, allocations: 211.6 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1374, allocations: 4 kB / 485.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.1375, allocations: 47.98 kB / 485.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.932e-05/0.1376, allocations: 91.67 kB / 485.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.1377, allocations: 99 kB / 485.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.138, allocations: 282.9 kB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.138, allocations: 4 kB / 485.7 MB, free: 288 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.138, allocations: 0 / 485.7 MB, free: 288 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.138, allocations: 0 / 485.7 MB, free: 288 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006504/0.1387, allocations: 0.6453 MB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1387, allocations: 8.031 kB / 486.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.1388, allocations: 44.38 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1391, allocations: 304.1 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.1391, allocations: 4.375 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1391, allocations: 4.375 kB / 486.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1393, allocations: 69.73 kB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1393, allocations: 0 / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1393, allocations: 0 / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1393, allocations: 0 / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1394, allocations: 35.97 kB / 486.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.1399, allocations: 416.5 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.14, allocations: 50.56 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.14, allocations: 20.94 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1401, allocations: 3.984 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1401, allocations: 34.59 kB / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1401, allocations: 0 / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008331/0.1409, allocations: 319.8 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.141, allocations: 55.34 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.1417, allocations: 0.8699 MB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1418, allocations: 25.7 kB / 488.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.142, allocations: 224.1 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.142, allocations: 27.56 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.142, allocations: 29.7 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1422, allocations: 358.8 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.1423, allocations: 31.97 kB / 489.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.1424, allocations: 35.92 kB / 489.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1425, allocations: 72.81 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1426, allocations: 0 / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002381/0.1428, allocations: 145.1 kB / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1428, allocations: 4 kB / 489.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1428, allocations: 0 / 489.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1429, allocations: 0 / 489.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.143, allocations: 23.98 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.143, allocations: 3.938 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.1431, allocations: 7.984 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1431, allocations: 0 / 489.5 MB, free: 12.23 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 (8): * Single equations (assignments): 8 * 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.0002108/0.1433, allocations: 217.8 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.1433, allocations: 43.44 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.1437, allocations: 181.7 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1437, allocations: 0 / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1437, allocations: 3.938 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1437, allocations: 3.984 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.1444, allocations: 0.5264 MB / 490.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1444, allocations: 3.938 kB / 490.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-05/0.1445, allocations: 15.98 kB / 490.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.1445, allocations: 4 kB / 490.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1445, allocations: 0 / 490.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1445, allocations: 0 / 490.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1445, allocations: 7.938 kB / 490.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.1448, allocations: 255.9 kB / 490.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.1449, allocations: 116.5 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1449, allocations: 0 / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.145, allocations: 4 kB / 490.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1451, allocations: 7.984 kB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1451, allocations: 8 kB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005926/0.1457, allocations: 0.655 MB / 491.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1457, allocations: 0 / 491.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1459, allocations: 32 kB / 491.5 MB, free: 10.04 MB / 366.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 (8): * Single equations (assignments): 8 * 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.001108/0.1471, allocations: 458.7 kB / 492 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1473, allocations: 71.95 kB / 492.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1473, allocations: 0 / 492.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.1474, allocations: 43.91 kB / 492.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1478, allocations: 33.23 kB / 492.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.149, allocations: 0.8237 MB / 493 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.1494, allocations: 0.8377 MB / 493.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.415e-05/0.1495, allocations: 20.72 kB / 493.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.1496, allocations: 23.44 kB / 493.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1496, allocations: 0 / 493.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of Templates: time 0.004852/0.1544, allocations: 1.762 MB / 495.6 MB, free: 6.094 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches