Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.13 MB / 344.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 79.25 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1483, allocations: 62.46 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003724/0.1521, allocations: 1.587 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1532, allocations: 0.5494 MB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.1533, allocations: 4 kB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1536, allocations: 15.86 kB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.154, allocations: 83.61 kB / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.1544, allocations: 111 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1546, allocations: 59.91 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1548, allocations: 15.98 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.115e-05/0.1548, allocations: 23.88 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.1549, allocations: 31.72 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.155, allocations: 4 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-05/0.155, allocations: 31.98 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.1551, allocations: 8 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.1552, allocations: 27.78 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1554, allocations: 71.8 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1554, allocations: 0 / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1554, allocations: 0 / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1554, allocations: 4 kB / 482.7 MB, free: 2.559 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.0005828/0.156, allocations: 395.4 kB / 483.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.156, allocations: 8.031 kB / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.1561, allocations: 8.844 kB / 483.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1563, allocations: 192.2 kB / 483.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1564, allocations: 384 / 483.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1564, allocations: 4.375 kB / 483.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1565, allocations: 53.81 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1566, allocations: 7.906 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1566, allocations: 4 kB / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1566, allocations: 0 / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1567, allocations: 27.95 kB / 483.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.1572, allocations: 280.8 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1575, allocations: 50.55 kB / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.1575, allocations: 16.86 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1576, allocations: 0 / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.1576, allocations: 34.64 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1576, allocations: 0 / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006954/0.1583, allocations: 157.2 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.1584, allocations: 55.41 kB / 484 MB, free: 1.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1586, allocations: 148.7 kB / 484.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1587, allocations: 25.7 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.1587, allocations: 96.12 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1588, allocations: 11.81 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.1588, allocations: 17.72 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003179/0.1592, allocations: 322.8 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.1592, allocations: 27.92 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.1593, allocations: 23.97 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1595, allocations: 56.77 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1595, allocations: 0 / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002075/0.1597, allocations: 81.58 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1597, allocations: 8 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1597, allocations: 7.984 kB / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1598, allocations: 0 / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.1598, allocations: 15.88 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1599, allocations: 0 / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.031e-05/0.1599, allocations: 7.984 kB / 484.8 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1599, allocations: 4 kB / 484.8 MB, free: 236 kB / 350.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.0001233/0.16, allocations: 117.8 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1601, allocations: 7.906 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.1604, allocations: 106.2 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.1604, allocations: 64 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1604, allocations: 4 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1604, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.1609, allocations: 358.3 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.161, allocations: 0 / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.161, allocations: 19.98 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.161, allocations: 0 / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1611, allocations: 0 / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1611, allocations: 3.938 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1611, allocations: 0 / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1613, allocations: 187.4 kB / 485.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.1614, allocations: 81.11 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1614, allocations: 4 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.1615, allocations: 11.92 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.1616, allocations: 0 / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.1616, allocations: 8 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.767e-05/0.1617, allocations: 113.5 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1617, allocations: 0 / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1619, allocations: 16 kB / 485.9 MB, free: 15.11 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.001572/0.1635, allocations: 406.3 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1637, allocations: 59.89 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1638, allocations: 0 / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.1638, allocations: 23.98 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1642, allocations: 23.48 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.1647, allocations: 186 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1651, allocations: 0.7002 MB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.462e-05/0.1652, allocations: 19.95 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1652, allocations: 15.38 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1652, allocations: 4 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Templates: time 0.004359/0.1696, allocations: 1.122 MB / 488.4 MB, free: 12.65 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches