Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001755/0.001755, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.006/2.006, allocations: 227.4 MB / 246.9 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3207/0.3207, allocations: 46.11 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 75.62 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1689, allocations: 62.45 MB / 480 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.004276/0.1732, allocations: 1.734 MB / 481.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1755, allocations: 0.9939 MB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.707e-05/0.1756, allocations: 0 / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.1761, allocations: 91.8 kB / 482.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.1767, allocations: 99.66 kB / 482.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.177, allocations: 55.88 kB / 482.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.1773, allocations: 107.7 kB / 483 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.995e-05/0.1773, allocations: 4.234 kB / 483 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1775, allocations: 47.72 kB / 483.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1777, allocations: 51.83 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.1777, allocations: 0 / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1779, allocations: 39.92 kB / 483.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.178, allocations: 23.91 kB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.1781, allocations: 35.73 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1783, allocations: 88.05 kB / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1783, allocations: 0 / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1783, allocations: 0 / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1784, allocations: 0 / 483.3 MB, free: 2.328 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.000759/0.1791, allocations: 414.9 kB / 483.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1792, allocations: 12.88 kB / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.1793, allocations: 16.75 kB / 483.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1796, allocations: 208.6 kB / 483.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1797, allocations: 384 / 484 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.1797, allocations: 12.12 kB / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1799, allocations: 49.67 kB / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.18, allocations: 0 / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.18, allocations: 4 kB / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.18, allocations: 0 / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1802, allocations: 19.92 kB / 484 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.1804, allocations: 185.7 kB / 484.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.1807, allocations: 54.59 kB / 484.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1809, allocations: 20.8 kB / 484.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1809, allocations: 0 / 484.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.1812, allocations: 75.22 kB / 484.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.314e-06/0.1812, allocations: 4 kB / 484.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004789/0.1817, allocations: 97.56 kB / 484.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1818, allocations: 51.41 kB / 484.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.1822, allocations: 215.5 kB / 484.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1822, allocations: 29.7 kB / 484.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.1823, allocations: 108.1 kB / 484.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.1824, allocations: 19.73 kB / 484.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.1825, allocations: 17.72 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1827, allocations: 330.8 kB / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.1828, allocations: 15.98 kB / 485.2 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.1829, allocations: 25.66 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.1831, allocations: 45.7 kB / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1831, allocations: 0 / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002891/0.1834, allocations: 85.47 kB / 485.4 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.1834, allocations: 8 kB / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1835, allocations: 0 / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1835, allocations: 0 / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.1836, allocations: 12.03 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1837, allocations: 4 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.1837, allocations: 3.906 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1838, allocations: 4.312 kB / 485.4 MB, free: 15.98 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.184, allocations: 133.7 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.184, allocations: 23.81 kB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.1841, allocations: 16.98 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1841, allocations: 0 / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1842, allocations: 8 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1842, allocations: 0 / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.1844, allocations: 189.6 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1844, allocations: 3.938 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.1845, allocations: 4 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1845, allocations: 0 / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1845, allocations: 0 / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1845, allocations: 4 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1845, allocations: 4 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.1848, allocations: 112.9 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.1849, allocations: 85.02 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.185, allocations: 0 / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.185, allocations: 3.984 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.1851, allocations: 8 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1851, allocations: 4 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.1854, allocations: 161.2 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1854, allocations: 0 / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000409/0.1858, allocations: 23.98 kB / 486.2 MB, free: 15.12 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 (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.001764/0.1876, allocations: 414.4 kB / 486.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.1878, allocations: 39.98 kB / 486.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.1879, allocations: 0 / 486.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.188, allocations: 23.98 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.1885, allocations: 43.45 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.1893, allocations: 270 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1897, allocations: 0.7083 MB / 487.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.1898, allocations: 15.42 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1898, allocations: 0 / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of Templates: time 0.005787/0.1956, allocations: 1.759 MB / 489.4 MB, free: 11.94 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches