Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009696/0.0009696, allocations: 93.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 204 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.7 MB / 246.8 MB, free: 11.41 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.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004209, allocations: 11.94 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1465, allocations: 63.56 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002902/0.1494, allocations: 1.397 MB / 484.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1511, allocations: 0.5652 MB / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1512, allocations: 0 / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.1518, allocations: 79.77 kB / 485.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.1523, allocations: 83.72 kB / 485.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.153, allocations: 171 kB / 485.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.1533, allocations: 91.73 kB / 485.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1535, allocations: 20.23 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1536, allocations: 31.84 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.1538, allocations: 55.81 kB / 485.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1538, allocations: 0 / 485.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.154, allocations: 43.98 kB / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1541, allocations: 27.91 kB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.1542, allocations: 69.31 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1545, allocations: 111.7 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1545, allocations: 0 / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1545, allocations: 0 / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1545, allocations: 0 / 485.8 MB, free: 1.41 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.0006117/0.1551, allocations: 415.3 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1552, allocations: 11.97 kB / 486.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.1552, allocations: 8.844 kB / 486.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1555, allocations: 208 kB / 486.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1556, allocations: 4.375 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.1556, allocations: 12.31 kB / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.1558, allocations: 73.78 kB / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1559, allocations: 0 / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1559, allocations: 0 / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1559, allocations: 0 / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.1561, allocations: 55.95 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.1567, allocations: 328.7 kB / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.157, allocations: 62.55 kB / 487 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.1571, allocations: 28.97 kB / 487 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1571, allocations: 0 / 487 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.1572, allocations: 46.59 kB / 487 MB, free: 20 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.1572, allocations: 0 / 487 MB, free: 20 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001884/0.1591, allocations: 0.4967 MB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.1592, allocations: 55.34 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.1594, allocations: 212.1 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1595, allocations: 25.7 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1596, allocations: 104.1 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.1596, allocations: 39.44 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1597, allocations: 29.58 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1598, allocations: 322.8 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.16, allocations: 63.97 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.1602, allocations: 59.95 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1605, allocations: 144.7 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1605, allocations: 0 / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003966/0.1609, allocations: 189.4 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.161, allocations: 6.188 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.161, allocations: 0 / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.161, allocations: 8 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1611, allocations: 32.48 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1611, allocations: 3.984 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.1612, allocations: 8 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.1613, allocations: 8 kB / 488.8 MB, free: 14.18 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.0001329/0.1614, allocations: 137.8 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1614, allocations: 11.91 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.1619, allocations: 214.8 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1619, allocations: 3.938 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.162, allocations: 0 / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.162, allocations: 0 / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.1628, allocations: 0.5194 MB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1628, allocations: 0 / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1629, allocations: 31.92 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1629, allocations: 8.062 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.163, allocations: 4 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.163, allocations: 3.984 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.163, allocations: 7.984 kB / 489.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.1634, allocations: 285.5 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.1635, allocations: 85.02 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1635, allocations: 8 kB / 490.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1637, allocations: 15.98 kB / 490.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1637, allocations: 15.92 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1637, allocations: 0 / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1639, allocations: 167.5 kB / 490.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.1639, allocations: 96 / 490.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000319/0.1642, allocations: 35.88 kB / 490.4 MB, free: 12.53 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.001219/0.1654, allocations: 448 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.1659, allocations: 143.9 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1659, allocations: 0 / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.1661, allocations: 83.95 kB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.1665, allocations: 27.91 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.1673, allocations: 383.8 kB / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1677, allocations: 0.7238 MB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1678, allocations: 28.53 kB / 492.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.1679, allocations: 15.44 kB / 492.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1679, allocations: 0 / 492.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of Templates: time 0.004909/0.1728, allocations: 1.527 MB / 493.7 MB, free: 9.277 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches