Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2532/0.2532, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 75.06 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.167, allocations: 62.44 MB / 480 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003059/0.1701, allocations: 1.588 MB / 481.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1712, allocations: 0.5494 MB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.1712, allocations: 0 / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.1715, allocations: 23.84 kB / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1718, allocations: 83.56 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1721, allocations: 115.4 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1723, allocations: 67.88 kB / 482.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1724, allocations: 12 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.1724, allocations: 31.8 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.1725, allocations: 19.88 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1725, allocations: 0 / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.1726, allocations: 35.97 kB / 482.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.1727, allocations: 15.98 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.1727, allocations: 23.81 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1729, allocations: 79.72 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1729, allocations: 3.984 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1729, allocations: 0 / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1729, allocations: 0 / 482.7 MB, free: 2.602 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.0004711/0.1734, allocations: 387.4 kB / 483 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1735, allocations: 12.02 kB / 483 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.1735, allocations: 12.78 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1737, allocations: 187.3 kB / 483.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1737, allocations: 4.375 kB / 483.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1738, allocations: 4.375 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1739, allocations: 53.8 kB / 483.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1739, allocations: 0 / 483.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1739, allocations: 0 / 483.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1739, allocations: 0 / 483.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.174, allocations: 27.98 kB / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.1745, allocations: 292.8 kB / 483.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1747, allocations: 42.5 kB / 483.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.1747, allocations: 20.94 kB / 483.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1748, allocations: 4 kB / 483.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1748, allocations: 38.5 kB / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.1748, allocations: 0 / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005986/0.1754, allocations: 149.2 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1755, allocations: 55.41 kB / 483.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1756, allocations: 173.7 kB / 484.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1757, allocations: 25.7 kB / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.1757, allocations: 96.12 kB / 484.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1758, allocations: 15.75 kB / 484.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1758, allocations: 21.66 kB / 484.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1759, allocations: 322.8 kB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.176, allocations: 19.98 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.1761, allocations: 27.97 kB / 484.6 MB, free: 448 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1762, allocations: 48.83 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1762, allocations: 0 / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.1764, allocations: 81.83 kB / 484.7 MB, free: 308 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1765, allocations: 11.98 kB / 484.7 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1765, allocations: 4 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1765, allocations: 0 / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.1766, allocations: 15.94 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1766, allocations: 0 / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.1766, allocations: 15.92 kB / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1766, allocations: 4 kB / 484.8 MB, free: 256 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 7.963e-05/0.1767, allocations: 113.8 kB / 484.9 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.1768, allocations: 7.906 kB / 484.9 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.177, allocations: 97.95 kB / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.177, allocations: 4.281 kB / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.177, allocations: 0 / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.177, allocations: 3.938 kB / 485 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.1775, allocations: 354.5 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1775, allocations: 7.969 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.1775, allocations: 8 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1776, allocations: 0 / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1776, allocations: 11.94 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1776, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1776, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1778, allocations: 191.3 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.1779, allocations: 85 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1779, allocations: 7.938 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/0.178, allocations: 192 / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.178, allocations: 11.94 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.178, allocations: 7.984 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.1781, allocations: 126.8 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1781, allocations: 0 / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1784, allocations: 16 kB / 485.8 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.0009298/0.1793, allocations: 385.8 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1796, allocations: 59.91 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1796, allocations: 0 / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.534e-05/0.1797, allocations: 27.97 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.18, allocations: 15.94 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.1805, allocations: 213.9 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1809, allocations: 0.6963 MB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.527e-05/0.181, allocations: 16.22 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.181, allocations: 11.44 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.181, allocations: 3.938 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Templates: time 0.004106/0.1851, allocations: 1.129 MB / 488.4 MB, free: 12.64 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches