Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 108.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2484/0.2484, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 75.25 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1481, allocations: 62.43 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003294/0.1514, allocations: 1.736 MB / 481 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1526, allocations: 0.5885 MB / 481.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.1527, allocations: 0 / 481.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.1533, allocations: 451.2 kB / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.1538, allocations: 275.4 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1542, allocations: 166.8 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.1545, allocations: 175.6 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1546, allocations: 28.16 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.1548, allocations: 107.7 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.1551, allocations: 207.5 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1551, allocations: 4 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1552, allocations: 43.98 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.1554, allocations: 95.67 kB / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1555, allocations: 102.9 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1558, allocations: 266.9 kB / 483.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1558, allocations: 0 / 483.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1558, allocations: 0 / 483.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1558, allocations: 0 / 483.5 MB, free: 1.496 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.0008524/0.1567, allocations: 0.6417 MB / 484.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1567, allocations: 12.02 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.1568, allocations: 44.38 kB / 484.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.1572, allocations: 308.1 kB / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1572, allocations: 4.375 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.1572, allocations: 4.375 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1574, allocations: 65.73 kB / 484.6 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1575, allocations: 0 / 484.6 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1575, allocations: 4 kB / 484.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1575, allocations: 0 / 484.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1576, allocations: 31.97 kB / 484.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.1583, allocations: 412.5 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1584, allocations: 50.55 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.1584, allocations: 16.95 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1585, allocations: 3.984 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1585, allocations: 34.56 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.1585, allocations: 96 / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001054/0.1596, allocations: 323.7 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.1596, allocations: 59.34 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/0.1605, allocations: 0.8699 MB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1606, allocations: 29.7 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1608, allocations: 216.1 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.1608, allocations: 31.55 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.1609, allocations: 21.72 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1611, allocations: 362.8 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.1612, allocations: 31.92 kB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.693e-05/0.1612, allocations: 39.97 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1614, allocations: 72.81 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1614, allocations: 0 / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002927/0.1617, allocations: 149.1 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1618, allocations: 6.656 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1618, allocations: 0 / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1618, allocations: 0 / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1619, allocations: 19.98 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1619, allocations: 7.938 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.162, allocations: 4 kB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.162, allocations: 0 / 487.3 MB, free: 13.44 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 (8): * Single equations (assignments): 8 * 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.0002263/0.1623, allocations: 217.8 kB / 487.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.1623, allocations: 47.8 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.1627, allocations: 181.5 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1627, allocations: 0 / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1627, allocations: 3.938 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1627, allocations: 3.984 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.1634, allocations: 0.5225 MB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1634, allocations: 3.938 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.1635, allocations: 20.02 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1635, allocations: 4 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1635, allocations: 4 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1635, allocations: 0 / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1636, allocations: 0 / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.1639, allocations: 248.2 kB / 488.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.1639, allocations: 124.5 kB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.164, allocations: 0 / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.1641, allocations: 4 kB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.1641, allocations: 11.98 kB / 488.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1641, allocations: 4 kB / 488.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006064/0.1647, allocations: 0.6472 MB / 489.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1647, allocations: 0 / 489.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.165, allocations: 35.98 kB / 489.4 MB, free: 11.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001181/0.1662, allocations: 455 kB / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.1665, allocations: 75.89 kB / 489.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1665, allocations: 4 kB / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.1666, allocations: 43.91 kB / 489.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.1671, allocations: 27.19 kB / 490 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1683, allocations: 0.9153 MB / 490.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1688, allocations: 0.8341 MB / 491.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.551e-05/0.1689, allocations: 24.7 kB / 491.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.1689, allocations: 11.44 kB / 491.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1689, allocations: 0 / 491.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of Templates: time 0.005903/0.1748, allocations: 1.709 MB / 493.5 MB, free: 7.281 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches