Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 100.8 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.001395/0.001395, allocations: 200.5 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.505/1.505, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003251, allocations: 8.219 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 63.57 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002139/0.1382, allocations: 1.374 MB / 483.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.1392, allocations: 0.5382 MB / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.1393, allocations: 0 / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1396, allocations: 43.88 kB / 484.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1398, allocations: 71.75 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.1404, allocations: 159.2 kB / 484.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1406, allocations: 79.73 kB / 484.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.1407, allocations: 12.23 kB / 484.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.1407, allocations: 31.84 kB / 484.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.141, allocations: 35.84 kB / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.141, allocations: 0 / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1411, allocations: 47.98 kB / 484.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.1412, allocations: 23.91 kB / 484.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.1412, allocations: 33.64 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1413, allocations: 79.88 kB / 484.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1414, allocations: 0 / 484.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1414, allocations: 0 / 484.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1414, allocations: 0 / 484.9 MB, free: 2.004 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005172/0.1419, allocations: 407.2 kB / 485.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1419, allocations: 8.031 kB / 485.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.142, allocations: 11.91 kB / 485.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1423, allocations: 190.8 kB / 485.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1423, allocations: 4 kB / 485.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1423, allocations: 11.98 kB / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.1425, allocations: 73.55 kB / 485.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1426, allocations: 4 kB / 485.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1426, allocations: 4 kB / 485.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1426, allocations: 0 / 485.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.1428, allocations: 51.95 kB / 485.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.1433, allocations: 328.7 kB / 486 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1436, allocations: 62.55 kB / 486.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.1437, allocations: 32.97 kB / 486.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1438, allocations: 0 / 486.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1438, allocations: 38.59 kB / 486.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1438, allocations: 0 / 486.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001525/0.1453, allocations: 0.5046 MB / 486.6 MB, free: 128 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1454, allocations: 51.41 kB / 486.7 MB, free: 64 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1456, allocations: 174.2 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1456, allocations: 37.62 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1457, allocations: 96.14 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.1458, allocations: 43.39 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-06/0.1458, allocations: 0 / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.146, allocations: 322.8 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1462, allocations: 63.95 kB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1463, allocations: 63.95 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.1465, allocations: 63.97 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1465, allocations: 4 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003689/0.1469, allocations: 185.7 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1469, allocations: 4 kB / 487.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1469, allocations: 8 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1469, allocations: 3.953 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1471, allocations: 27.98 kB / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1471, allocations: 0 / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.1472, allocations: 15.98 kB / 487.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.1472, allocations: 4 kB / 487.8 MB, free: 14.93 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 (11): * Single equations (assignments): 11 * 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.0001095/0.1473, allocations: 138.3 kB / 487.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1473, allocations: 11.81 kB / 487.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.1478, allocations: 198.9 kB / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1478, allocations: 4 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1478, allocations: 3.953 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1478, allocations: 7.938 kB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007149/0.1485, allocations: 0.5155 MB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1485, allocations: 0 / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1486, allocations: 39.98 kB / 488.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1487, allocations: 3.984 kB / 488.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1487, allocations: 8 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1487, allocations: 0 / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1487, allocations: 3.938 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.1491, allocations: 281.1 kB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.1492, allocations: 85.02 kB / 489.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1492, allocations: 7.938 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.1493, allocations: 20 kB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.1494, allocations: 7.984 kB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1494, allocations: 4 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1495, allocations: 146.3 kB / 489.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1495, allocations: 0 / 489.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1498, allocations: 27.91 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001117/0.1509, allocations: 456.7 kB / 489.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.1513, allocations: 143.8 kB / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1513, allocations: 0 / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.1515, allocations: 84.02 kB / 489.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1518, allocations: 19.98 kB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.1525, allocations: 318.9 kB / 490.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1529, allocations: 0.72 MB / 491 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.153, allocations: 32.52 kB / 491 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.1531, allocations: 19.42 kB / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1531, allocations: 3.938 kB / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of Templates: time 0.004593/0.1577, allocations: 1.484 MB / 492.5 MB, free: 10.17 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches