Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.89 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1502, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003718/0.1539, allocations: 1.654 MB / 483.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1552, allocations: 0.5689 MB / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.1553, allocations: 0 / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006579/0.156, allocations: 467.1 kB / 484.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005002/0.1565, allocations: 291.3 kB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.157, allocations: 182.5 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1572, allocations: 175.6 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1574, allocations: 19.98 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1575, allocations: 111.8 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1578, allocations: 211.6 kB / 485.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1578, allocations: 4 kB / 485.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.1579, allocations: 27.98 kB / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.158, allocations: 91.61 kB / 485.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1581, allocations: 103 kB / 485.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.1585, allocations: 263 kB / 485.6 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1585, allocations: 4 kB / 485.6 MB, free: 412 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1585, allocations: 0 / 485.6 MB, free: 412 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1585, allocations: 0 / 485.6 MB, free: 412 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007658/0.1593, allocations: 0.6413 MB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1593, allocations: 12.02 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.197e-05/0.1594, allocations: 44.38 kB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1597, allocations: 296.1 kB / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1597, allocations: 4.375 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1598, allocations: 4.312 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1599, allocations: 65.8 kB / 486.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1599, allocations: 7.984 kB / 486.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.16, allocations: 0 / 486.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.16, allocations: 0 / 486.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.1601, allocations: 35.92 kB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.1606, allocations: 388.7 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1608, allocations: 46.55 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.1609, allocations: 20.8 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1609, allocations: 0 / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.161, allocations: 30.56 kB / 487.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.161, allocations: 4 kB / 487.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006433/0.1616, allocations: 243.9 kB / 487.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1617, allocations: 51.41 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/0.1625, allocations: 0.866 MB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1625, allocations: 29.7 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.1627, allocations: 224.1 kB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1628, allocations: 15.88 kB / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.1628, allocations: 21.7 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.163, allocations: 366.7 kB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.1631, allocations: 23.92 kB / 489 MB, free: 12.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.1631, allocations: 19.98 kB / 489 MB, free: 12.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1633, allocations: 56.81 kB / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1633, allocations: 0 / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002245/0.1635, allocations: 121 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1636, allocations: 8 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1636, allocations: 0 / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1636, allocations: 4 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.1637, allocations: 11.98 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1637, allocations: 0 / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.1638, allocations: 19.86 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1638, allocations: 0 / 489.2 MB, free: 12.54 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 (5): * Single equations (assignments): 5 * 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.0002157/0.164, allocations: 213.8 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.1641, allocations: 43.44 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.1644, allocations: 149.3 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1644, allocations: 3.938 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1644, allocations: 4.062 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1644, allocations: 3.938 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.165, allocations: 462.5 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.165, allocations: 4 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.1651, allocations: 12 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1651, allocations: 3.938 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1651, allocations: 7.922 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1651, allocations: 4 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1651, allocations: 0 / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1654, allocations: 211 kB / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.1655, allocations: 112.6 kB / 490.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1655, allocations: 3.938 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.1656, allocations: 8 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.1656, allocations: 3.984 kB / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1656, allocations: 4 kB / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000606/0.1663, allocations: 0.6511 MB / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1663, allocations: 4 kB / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1665, allocations: 23.89 kB / 491.1 MB, free: 10.52 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 (5): * Single equations (assignments): 5 * 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.001/0.1675, allocations: 403.7 kB / 491.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.1678, allocations: 51.91 kB / 491.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1678, allocations: 3.938 kB / 491.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.1679, allocations: 23.98 kB / 491.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1683, allocations: 34.48 kB / 491.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1694, allocations: 0.7993 MB / 492.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.1698, allocations: 0.8299 MB / 493.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.848e-05/0.1699, allocations: 19.97 kB / 493.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.17, allocations: 11.44 kB / 493.3 MB, free: 8.438 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.17, allocations: 0 / 493.3 MB, free: 8.438 MB / 366.1 MB Notification: Performance of Templates: time 0.005199/0.1752, allocations: 1.5 MB / 494.8 MB, free: 6.941 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches