Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 191 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 46.18 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002627, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1323, allocations: 63.56 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001885/0.1342, allocations: 1.366 MB / 483.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008697/0.1351, allocations: 0.5305 MB / 484.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.1352, allocations: 0 / 484.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.1357, allocations: 447.2 kB / 484.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.1361, allocations: 267.4 kB / 485 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.1365, allocations: 163.1 kB / 485.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1367, allocations: 139.7 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.1368, allocations: 16 kB / 485.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1369, allocations: 111.7 kB / 485.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.1371, allocations: 163.7 kB / 485.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1371, allocations: 4 kB / 485.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-05/0.1372, allocations: 31.92 kB / 485.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.1373, allocations: 87.73 kB / 485.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.1374, allocations: 69.45 kB / 485.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1376, allocations: 191.7 kB / 485.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1376, allocations: 0 / 485.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1376, allocations: 0 / 485.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1376, allocations: 0 / 485.9 MB, free: 0.9453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000739/0.1384, allocations: 0.6107 MB / 486.6 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1384, allocations: 8.031 kB / 486.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.1385, allocations: 39.53 kB / 486.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1388, allocations: 283.2 kB / 486.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1388, allocations: 8 kB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1389, allocations: 0 / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1391, allocations: 65.61 kB / 487 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1391, allocations: 4 kB / 487 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1391, allocations: 0 / 487 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1391, allocations: 0 / 487 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.1392, allocations: 47.97 kB / 487 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.1398, allocations: 404.7 kB / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.14, allocations: 58.48 kB / 487.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.1401, allocations: 28.94 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1401, allocations: 0 / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1401, allocations: 38.56 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1401, allocations: 3.938 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008948/0.141, allocations: 359.9 kB / 487.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.1411, allocations: 55.36 kB / 487.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.142, allocations: 0.8652 MB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1421, allocations: 29.7 kB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.1423, allocations: 212.1 kB / 489 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.1424, allocations: 27.55 kB / 489.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.1424, allocations: 0 / 489.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1425, allocations: 362.8 kB / 489.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1427, allocations: 51.95 kB / 489.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1428, allocations: 43.97 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1429, allocations: 51.97 kB / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1429, allocations: 0 / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003049/0.1432, allocations: 173.1 kB / 489.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1433, allocations: 4 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1433, allocations: 0 / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1433, allocations: 3.938 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.1434, allocations: 23.98 kB / 489.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1435, allocations: 0 / 489.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.1435, allocations: 23.94 kB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1436, allocations: 8 kB / 489.8 MB, free: 12.88 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 (7): * Single equations (assignments): 7 * 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.0002123/0.1438, allocations: 218.3 kB / 490 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.1438, allocations: 39.44 kB / 490 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/0.1443, allocations: 197.4 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1443, allocations: 4 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1443, allocations: 3.984 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1443, allocations: 0 / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008735/0.1452, allocations: 0.5338 MB / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1452, allocations: 0 / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.3e-05/0.1453, allocations: 23.98 kB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1453, allocations: 4 kB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1454, allocations: 0 / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1454, allocations: 4.078 kB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1454, allocations: 7.938 kB / 490.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.1458, allocations: 263 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.1459, allocations: 120.5 kB / 491.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.146, allocations: 4 kB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.1461, allocations: 8 kB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.1461, allocations: 19.88 kB / 491.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1461, allocations: 4 kB / 491.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006611/0.1468, allocations: 0.655 MB / 491.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1468, allocations: 0 / 491.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000394/0.1472, allocations: 24 kB / 491.9 MB, free: 10.66 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 (7): * Single equations (assignments): 7 * 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.001006/0.1482, allocations: 391 kB / 492.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.1485, allocations: 107.9 kB / 492.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1486, allocations: 0 / 492.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.1487, allocations: 59.91 kB / 492.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.1492, allocations: 25.55 kB / 492.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.151, allocations: 0.8883 MB / 493.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.1517, allocations: 0.8262 MB / 494.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.1518, allocations: 24.89 kB / 494.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.1519, allocations: 15.44 kB / 494.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of SimCode: time 2.304e-06/0.1519, allocations: 4 kB / 494.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of Templates: time 0.006092/0.158, allocations: 1.472 MB / 495.7 MB, free: 6.938 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches