Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008673/0.0008671, allocations: 95.84 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.7 MB / 246.8 MB, free: 9.754 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 8.281 kB / 419.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 63.56 MB / 483.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002053/0.1319, allocations: 1.337 MB / 484.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1331, allocations: 0.5184 MB / 484.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.1332, allocations: 0 / 484.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006657/0.1339, allocations: 447.2 kB / 485.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.1344, allocations: 279.4 kB / 485.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.1349, allocations: 115 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.1352, allocations: 151.8 kB / 485.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1354, allocations: 16.19 kB / 485.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1356, allocations: 107.7 kB / 486 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.1358, allocations: 191.6 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1359, allocations: 4 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.136, allocations: 31.91 kB / 486.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1361, allocations: 87.62 kB / 486.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1363, allocations: 120.8 kB / 486.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.1366, allocations: 235 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1366, allocations: 0 / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1366, allocations: 0 / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.1366, allocations: 0 / 486.7 MB, free: 496 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000797/0.1374, allocations: 0.5874 MB / 487.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1375, allocations: 12.88 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.1375, allocations: 40.38 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1379, allocations: 296.2 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1379, allocations: 4.375 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1379, allocations: 4.375 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.138, allocations: 49.62 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1381, allocations: 3.984 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1381, allocations: 0 / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1381, allocations: 4 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.1382, allocations: 23.98 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.1387, allocations: 380.8 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.461e-05/0.1388, allocations: 30.56 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.1388, allocations: 16.92 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1389, allocations: 0 / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1389, allocations: 38.55 kB / 488.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1389, allocations: 0 / 488.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000296/0.1392, allocations: 101.1 kB / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1393, allocations: 55.41 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009517/0.1402, allocations: 0.8615 MB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1402, allocations: 33.7 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.1404, allocations: 224.1 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.1405, allocations: 3.906 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.1405, allocations: 9.719 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.1408, allocations: 366.7 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.1408, allocations: 7.984 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.1409, allocations: 16 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.141, allocations: 36.78 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.141, allocations: 0 / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000165/0.1411, allocations: 89.12 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1412, allocations: 7.984 kB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1412, allocations: 96 / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1412, allocations: 7.938 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.1413, allocations: 8 kB / 490 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1413, allocations: 0 / 490 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.1413, allocations: 8 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1414, allocations: 3.938 kB / 490 MB, free: 12.96 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.0001861/0.1415, allocations: 217.6 kB / 490.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.1416, allocations: 35.53 kB / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.1418, allocations: 116.6 kB / 490.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1418, allocations: 0 / 490.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.1418, allocations: 4 kB / 490.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1418, allocations: 0 / 490.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.1421, allocations: 289.4 kB / 490.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1421, allocations: 3.984 kB / 490.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.1422, allocations: 7.984 kB / 490.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1422, allocations: 0 / 490.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.1422, allocations: 4.031 kB / 490.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1422, allocations: 0 / 490.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1422, allocations: 4 kB / 490.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1424, allocations: 191 kB / 490.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.1425, allocations: 112.5 kB / 490.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1426, allocations: 4.031 kB / 490.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.1426, allocations: 4 kB / 490.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.1426, allocations: 0 / 490.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1427, allocations: 7.984 kB / 491 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006572/0.1433, allocations: 0.6511 MB / 491.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1433, allocations: 0 / 491.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1436, allocations: 19.94 kB / 491.6 MB, free: 11.21 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.0008267/0.1444, allocations: 348.6 kB / 492 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.1446, allocations: 23.98 kB / 492 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.1446, allocations: 0 / 492 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.1447, allocations: 20.05 kB / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1451, allocations: 22.25 kB / 492 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1462, allocations: 0.8494 MB / 492.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.1467, allocations: 0.8224 MB / 493.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.1467, allocations: 7.984 kB / 493.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.1468, allocations: 7.438 kB / 493.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1468, allocations: 0 / 493.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of Templates: time 0.004278/0.1511, allocations: 1.162 MB / 494.9 MB, free: 8.012 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches