Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 92.62 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 199.8 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002367/0.1375, allocations: 1.392 MB / 484.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.139, allocations: 0.5457 MB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1392, allocations: 4 kB / 485 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.1395, allocations: 59.8 kB / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.1399, allocations: 87.77 kB / 485.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.1404, allocations: 131.5 kB / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1406, allocations: 79.77 kB / 485.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1408, allocations: 16.22 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1409, allocations: 39.78 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1411, allocations: 43.83 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1411, allocations: 4 kB / 485.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.1413, allocations: 47.97 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.1414, allocations: 19.92 kB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.098e-05/0.1415, allocations: 57.44 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1418, allocations: 115.6 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1419, allocations: 0 / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1419, allocations: 0 / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1419, allocations: 0 / 485.7 MB, free: 1.504 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.0007721/0.1427, allocations: 419.2 kB / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.1427, allocations: 8.031 kB / 486.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.1428, allocations: 8.844 kB / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1431, allocations: 202.7 kB / 486.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1432, allocations: 8.375 kB / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1432, allocations: 384 / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.1434, allocations: 69.8 kB / 486.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1434, allocations: 3.938 kB / 486.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1435, allocations: 7.984 kB / 486.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1435, allocations: 0 / 486.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.1437, allocations: 47.97 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.1442, allocations: 312.7 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1445, allocations: 62.59 kB / 486.8 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.116e-05/0.1446, allocations: 28.91 kB / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1447, allocations: 4 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1447, allocations: 42.55 kB / 486.9 MB, free: 148 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.1447, allocations: 0 / 486.9 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00178/0.1465, allocations: 480.7 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1466, allocations: 63.27 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.1468, allocations: 206.9 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1468, allocations: 25.7 kB / 487.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.1469, allocations: 108 kB / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.147, allocations: 39.45 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.147, allocations: 13.72 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1472, allocations: 326.8 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1473, allocations: 51.97 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1475, allocations: 56.02 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1478, allocations: 120.7 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1478, allocations: 4 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003726/0.1482, allocations: 153.5 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1482, allocations: 8 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1482, allocations: 0.5625 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1483, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1484, allocations: 35.91 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1484, allocations: 0 / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/0.1485, allocations: 19.98 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1485, allocations: 4 kB / 488.6 MB, free: 14.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.1487, allocations: 129.8 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.1487, allocations: 19.8 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.1492, allocations: 186.8 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1492, allocations: 3.938 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.1493, allocations: 0 / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1493, allocations: 0 / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.1502, allocations: 499.9 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1502, allocations: 4 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.1504, allocations: 32.05 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1504, allocations: 0 / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.1504, allocations: 4 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.257e-06/0.1504, allocations: 0 / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1504, allocations: 96 / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.151, allocations: 280.9 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1511, allocations: 92.91 kB / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1511, allocations: 4 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.1513, allocations: 19.98 kB / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.1513, allocations: 4 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.1513, allocations: 8 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.1515, allocations: 164.7 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1515, allocations: 0 / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.1519, allocations: 24 kB / 490 MB, free: 12.84 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 (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.001338/0.1532, allocations: 455.8 kB / 490.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004001/0.1536, allocations: 131.9 kB / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1536, allocations: 0 / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1538, allocations: 68.03 kB / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.1542, allocations: 23.92 kB / 490.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/0.155, allocations: 348.2 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1553, allocations: 0.72 MB / 491.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.529e-05/0.1554, allocations: 12.56 kB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.1554, allocations: 15.44 kB / 491.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1554, allocations: 0 / 491.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of Templates: time 0.005249/0.1607, allocations: 1.461 MB / 493.2 MB, free: 9.734 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches