Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008526/0.0008524, allocations: 93.56 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009367/0.0009367, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.000434, allocations: 8.375 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1628, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002784/0.1656, allocations: 1.357 MB / 484.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1668, allocations: 0.5496 MB / 485 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.167, allocations: 0 / 485 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.1673, allocations: 83.81 kB / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.1677, allocations: 103.7 kB / 485.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.1681, allocations: 107.1 kB / 485.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.1685, allocations: 99.72 kB / 485.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.1687, allocations: 20 kB / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.1689, allocations: 35.84 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1691, allocations: 59.81 kB / 485.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1691, allocations: 4 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.1694, allocations: 43.97 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1695, allocations: 23.92 kB / 485.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1696, allocations: 69.31 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.17, allocations: 123.8 kB / 485.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.17, allocations: 0 / 485.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.17, allocations: 0 / 485.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.17, allocations: 4 kB / 485.8 MB, free: 1.477 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009451/0.171, allocations: 417.6 kB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.171, allocations: 12.02 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.064e-05/0.1711, allocations: 16.75 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1714, allocations: 204.5 kB / 486.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.1715, allocations: 8.312 kB / 486.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1715, allocations: 4.375 kB / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1718, allocations: 77.78 kB / 486.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1718, allocations: 0 / 486.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1718, allocations: 12 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1718, allocations: 0 / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.172, allocations: 43.97 kB / 486.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.1726, allocations: 348.5 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.1728, allocations: 70.55 kB / 486.9 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/0.1729, allocations: 28.84 kB / 487 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.1729, allocations: 4 kB / 487 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.173, allocations: 30.56 kB / 487 MB, free: 68 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.173, allocations: 0 / 487 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001308/0.1743, allocations: 389.2 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1743, allocations: 51.53 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.1746, allocations: 239.5 kB / 487.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1746, allocations: 25.7 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.1747, allocations: 120 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.1748, allocations: 43.33 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1748, allocations: 17.72 kB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.175, allocations: 322.8 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1751, allocations: 51.97 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1752, allocations: 55.95 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.1754, allocations: 116.1 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1755, allocations: 4 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003158/0.1758, allocations: 169.4 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1758, allocations: 4 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1758, allocations: 4 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1759, allocations: 3.938 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.176, allocations: 27.98 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.176, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.1761, allocations: 11.98 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1761, allocations: 8 kB / 488.6 MB, free: 14.37 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 (13): * Single equations (assignments): 13 * 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.0001595/0.1763, allocations: 141.8 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.1763, allocations: 15.81 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.1768, allocations: 183.1 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1768, allocations: 8 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1768, allocations: 0 / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1768, allocations: 3.984 kB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.1777, allocations: 0.5107 MB / 489.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1777, allocations: 4 kB / 489.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.1778, allocations: 23.98 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1778, allocations: 0 / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1778, allocations: 8 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1778, allocations: 0 / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1778, allocations: 0 / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.1783, allocations: 276.1 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.1783, allocations: 88.92 kB / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1784, allocations: 0 / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.1785, allocations: 15.98 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1785, allocations: 8 kB / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1785, allocations: 7.984 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.1787, allocations: 177.2 kB / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1787, allocations: 0 / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.179, allocations: 27.98 kB / 490.1 MB, free: 12.78 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 (13): * Single equations (assignments): 13 * 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.001079/0.1801, allocations: 462 kB / 490.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.1804, allocations: 123.8 kB / 490.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1804, allocations: 0 / 490.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1806, allocations: 67.91 kB / 490.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1809, allocations: 19.98 kB / 490.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.1816, allocations: 375 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.182, allocations: 0.7238 MB / 491.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.099e-05/0.1821, allocations: 28.53 kB / 491.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1821, allocations: 19.42 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1821, allocations: 0 / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of Templates: time 0.004516/0.1866, allocations: 1.526 MB / 493.4 MB, free: 9.574 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches