Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 98.2 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 194.3 kB / 17.91 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2448/0.2448, allocations: 46.19 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003665, allocations: 12.22 kB / 418.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 63.57 MB / 482.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002555/0.1712, allocations: 1.384 MB / 483.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.173, allocations: 0.9207 MB / 484.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1732, allocations: 0 / 484.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.1736, allocations: 51.8 kB / 484.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.174, allocations: 87.72 kB / 484.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1743, allocations: 51.83 kB / 484.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1745, allocations: 91.73 kB / 485 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.587e-05/0.1746, allocations: 4.234 kB / 485 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1747, allocations: 43.78 kB / 485.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/0.1748, allocations: 31.8 kB / 485.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1748, allocations: 3.984 kB / 485.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1749, allocations: 28 kB / 485.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.175, allocations: 31.91 kB / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.175, allocations: 37.64 kB / 485.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.1752, allocations: 92.08 kB / 485.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1753, allocations: 0 / 485.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1753, allocations: 0 / 485.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1753, allocations: 0 / 485.3 MB, free: 1.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006691/0.1759, allocations: 418.7 kB / 485.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.176, allocations: 19.95 kB / 485.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.1761, allocations: 11.81 kB / 485.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1764, allocations: 219.7 kB / 485.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1764, allocations: 4 kB / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1764, allocations: 0 / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1766, allocations: 49.67 kB / 486 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1766, allocations: 0 / 486 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1766, allocations: 0 / 486 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1766, allocations: 0 / 486 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.1767, allocations: 15.94 kB / 486 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.177, allocations: 201.5 kB / 486.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1771, allocations: 54.61 kB / 486.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1772, allocations: 16.86 kB / 486.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1772, allocations: 0 / 486.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.1774, allocations: 63.39 kB / 486.3 MB, free: 468 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 5.991e-06/0.1775, allocations: 4 kB / 486.3 MB, free: 464 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003348/0.1778, allocations: 101.5 kB / 486.4 MB, free: 356 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.1779, allocations: 51.41 kB / 486.5 MB, free: 292 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.1782, allocations: 270.9 kB / 486.7 MB, free: 8 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.1782, allocations: 25.7 kB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.1783, allocations: 112.1 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.1784, allocations: 15.89 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.1784, allocations: 0 / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1786, allocations: 330.8 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/0.1786, allocations: 12 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.1787, allocations: 25.7 kB / 487.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.71e-05/0.1788, allocations: 23.94 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.1788, allocations: 3.953 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000192/0.179, allocations: 85.47 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.179, allocations: 8 kB / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.179, allocations: 7.969 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.179, allocations: 0 / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.1792, allocations: 11.94 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.1792, allocations: 4.312 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.1792, allocations: 7.922 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1792, allocations: 8 kB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.1794, allocations: 133.8 kB / 487.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1794, allocations: 15.77 kB / 487.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.1795, allocations: 17 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1795, allocations: 4 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.1795, allocations: 3.984 kB / 487.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1796, allocations: 0 / 487.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.1798, allocations: 205.5 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1798, allocations: 0 / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.1798, allocations: 7.953 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1798, allocations: 0 / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1799, allocations: 0 / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1799, allocations: 0 / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1799, allocations: 0 / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1801, allocations: 120.9 kB / 487.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1802, allocations: 92.91 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.1803, allocations: 3.953 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.935e-05/0.1803, allocations: 4 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.1804, allocations: 0 / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.1804, allocations: 11.98 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1806, allocations: 200.4 kB / 488.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1806, allocations: 0 / 488.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1809, allocations: 23.98 kB / 488.2 MB, free: 14.39 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/0.1822, allocations: 410.8 kB / 488.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1824, allocations: 35.92 kB / 488.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1824, allocations: 0 / 488.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.393e-05/0.1825, allocations: 16 kB / 488.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1828, allocations: 27.97 kB / 488.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.1834, allocations: 273.8 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.1839, allocations: 0.7208 MB / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.928e-05/0.1839, allocations: 12.55 kB / 489.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.184, allocations: 11.44 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.184, allocations: 0 / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005126/0.1891, allocations: 1.429 MB / 491.2 MB, free: 11.56 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches