Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001365, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 46.09 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 68.77 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 62.44 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003689/0.1398, allocations: 1.609 MB / 482.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1409, allocations: 0.5572 MB / 482.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.141, allocations: 4 kB / 482.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.1416, allocations: 459.1 kB / 483.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.1422, allocations: 291.3 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.1427, allocations: 175.2 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.143, allocations: 159.8 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1431, allocations: 11.98 kB / 483.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1433, allocations: 111.7 kB / 484 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1435, allocations: 211.6 kB / 484.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1436, allocations: 4 kB / 484.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.446e-05/0.1437, allocations: 23.98 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1438, allocations: 83.69 kB / 484.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.1439, allocations: 99 kB / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1442, allocations: 251 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1442, allocations: 3.984 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1442, allocations: 0 / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1442, allocations: 4 kB / 484.7 MB, free: 1.266 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.0008043/0.1451, allocations: 0.6299 MB / 485.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1451, allocations: 8.031 kB / 485.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.1452, allocations: 40.47 kB / 485.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1455, allocations: 296.1 kB / 485.7 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1455, allocations: 4.375 kB / 485.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1455, allocations: 384 / 485.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1457, allocations: 57.8 kB / 485.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1457, allocations: 4 kB / 485.7 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1457, allocations: 3.938 kB / 485.7 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1457, allocations: 0 / 485.7 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.22e-05/0.1458, allocations: 23.98 kB / 485.8 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.1464, allocations: 388.7 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1465, allocations: 42.5 kB / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.1466, allocations: 20.84 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1466, allocations: 0 / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1466, allocations: 34.56 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1466, allocations: 0 / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000314/0.1469, allocations: 101.1 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.147, allocations: 55.41 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/0.1479, allocations: 0.87 MB / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.1479, allocations: 25.7 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1481, allocations: 220.1 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1481, allocations: 15.83 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1482, allocations: 9.719 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1484, allocations: 366.7 kB / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.1484, allocations: 11.92 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.1485, allocations: 16 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.386e-05/0.1486, allocations: 28.83 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1486, allocations: 0 / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001677/0.1487, allocations: 89.22 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1488, allocations: 6.656 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1488, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1488, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.1489, allocations: 7.984 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1489, allocations: 4.094 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.1489, allocations: 7.906 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.149, allocations: 0 / 488.1 MB, free: 13.69 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 (2): * Single equations (assignments): 2 * 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.0001877/0.1492, allocations: 225.6 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.1492, allocations: 39.53 kB / 488.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.1494, allocations: 104.8 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1495, allocations: 0 / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1495, allocations: 4.031 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1495, allocations: 0 / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.1498, allocations: 293.5 kB / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1498, allocations: 0 / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.1498, allocations: 4 kB / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1498, allocations: 0 / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1498, allocations: 0 / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1498, allocations: 3.938 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1499, allocations: 0 / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1501, allocations: 202.8 kB / 488.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.1502, allocations: 112.5 kB / 489 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1502, allocations: 0 / 489 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.1503, allocations: 0 / 489 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.1503, allocations: 3.984 kB / 489 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1503, allocations: 4 kB / 489 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006209/0.1509, allocations: 0.6511 MB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1509, allocations: 0 / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1512, allocations: 20.03 kB / 489.7 MB, free: 11.95 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 (2): * Single equations (assignments): 2 * 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.0008451/0.152, allocations: 357.8 kB / 490.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.1522, allocations: 31.91 kB / 490.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1522, allocations: 4 kB / 490.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.1523, allocations: 12 kB / 490.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1527, allocations: 29.23 kB / 490.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1539, allocations: 0.8164 MB / 490.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.1543, allocations: 0.8221 MB / 491.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.1544, allocations: 11.44 kB / 491.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1544, allocations: 0 / 491.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of Templates: time 0.007272/0.1617, allocations: 3.516 MB / 495.3 MB, free: 6.398 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches