Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001228, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 77.44 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1353, allocations: 62.45 MB / 480 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003495/0.1389, allocations: 1.601 MB / 481.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.14, allocations: 0.5611 MB / 482.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.14, allocations: 0 / 482.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.1406, allocations: 459.1 kB / 482.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.141, allocations: 295.3 kB / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1414, allocations: 171 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1416, allocations: 163.8 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.1417, allocations: 11.98 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1418, allocations: 119.6 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.142, allocations: 207.6 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1421, allocations: 0 / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-05/0.1421, allocations: 31.98 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1423, allocations: 83.69 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.296e-05/0.1424, allocations: 102.9 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1427, allocations: 254.9 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1427, allocations: 0 / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1427, allocations: 0 / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1427, allocations: 0 / 484 MB, free: 1.215 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.0007635/0.1435, allocations: 0.6299 MB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1435, allocations: 8.031 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.1436, allocations: 40.47 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.1439, allocations: 296.2 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1439, allocations: 4.375 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1439, allocations: 384 / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1441, allocations: 53.8 kB / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1441, allocations: 3.938 kB / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1441, allocations: 4 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1442, allocations: 0 / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.262e-05/0.1442, allocations: 23.98 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.1448, allocations: 392.7 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.1449, allocations: 34.5 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1449, allocations: 24.84 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.145, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.145, allocations: 34.56 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.145, allocations: 4 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002791/0.1453, allocations: 101.1 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1454, allocations: 51.41 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000822/0.1462, allocations: 0.8699 MB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1462, allocations: 25.7 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1464, allocations: 224.1 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1464, allocations: 3.906 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.1465, allocations: 17.84 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1466, allocations: 362.7 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.1467, allocations: 15.92 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.1467, allocations: 11.98 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.205e-05/0.1468, allocations: 28.84 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1468, allocations: 0 / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001566/0.147, allocations: 89.28 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.147, allocations: 8 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.147, allocations: 0 / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1471, allocations: 4 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.1471, allocations: 7.984 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1471, allocations: 0 / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1472, allocations: 7.906 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1472, allocations: 3.938 kB / 487.4 MB, free: 13.64 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.0001834/0.1474, allocations: 229.6 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.1475, allocations: 35.53 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.1477, allocations: 104.8 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1477, allocations: 0 / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1477, allocations: 0 / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1477, allocations: 3.984 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.148, allocations: 289.5 kB / 488 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.148, allocations: 0 / 488 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.148, allocations: 4 kB / 488 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.148, allocations: 4.031 kB / 488 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.148, allocations: 0 / 488 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1481, allocations: 3.938 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1481, allocations: 0 / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.1483, allocations: 198.8 kB / 488.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.1483, allocations: 108.5 kB / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1484, allocations: 4 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.1484, allocations: 8.016 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.1485, allocations: 0 / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1485, allocations: 0 / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005772/0.1491, allocations: 0.655 MB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1491, allocations: 0 / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1493, allocations: 19.98 kB / 489 MB, free: 11.89 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.0008904/0.1502, allocations: 345.2 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1504, allocations: 35.84 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1504, allocations: 0 / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.182e-05/0.1505, allocations: 12 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.1509, allocations: 34.42 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1519, allocations: 0.7756 MB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.1523, allocations: 0.8221 MB / 491.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.1524, allocations: 11.98 kB / 491.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.1524, allocations: 11.44 kB / 491.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.856e-06/0.1524, allocations: 4 kB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of Templates: time 0.004347/0.1568, allocations: 1.258 MB / 492.3 MB, free: 8.652 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches