Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002185/0.002185, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.904/1.904, allocations: 227.4 MB / 246.9 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3755/0.3755, allocations: 46.11 MB / 344.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002903/0.002903, allocations: 73.17 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1668, allocations: 62.45 MB / 480 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.005162/0.172, allocations: 1.777 MB / 481.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.1748, allocations: 1.021 MB / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.175, allocations: 7.938 kB / 482.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.1755, allocations: 43.89 kB / 482.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.176, allocations: 87.72 kB / 482.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1763, allocations: 67.8 kB / 483 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.1766, allocations: 99.7 kB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1768, allocations: 19.92 kB / 483.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1769, allocations: 43.72 kB / 483.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.177, allocations: 39.78 kB / 483.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.1771, allocations: 0 / 483.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1773, allocations: 43.98 kB / 483.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.253e-05/0.1774, allocations: 27.91 kB / 483.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.367e-05/0.1775, allocations: 47.61 kB / 483.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1778, allocations: 100 kB / 483.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1778, allocations: 4 kB / 483.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1778, allocations: 0 / 483.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1778, allocations: 4 kB / 483.4 MB, free: 2.305 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008087/0.1786, allocations: 442.7 kB / 483.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1787, allocations: 8.875 kB / 483.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.1788, allocations: 12.84 kB / 483.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.1792, allocations: 224.9 kB / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1792, allocations: 384 / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1793, allocations: 4.125 kB / 484 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.1795, allocations: 65.61 kB / 484.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1795, allocations: 0 / 484.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1796, allocations: 0 / 484.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1796, allocations: 0 / 484.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1797, allocations: 19.98 kB / 484.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.1803, allocations: 296.9 kB / 484.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1806, allocations: 66.61 kB / 484.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.1807, allocations: 20.8 kB / 484.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1807, allocations: 4 kB / 484.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/0.1811, allocations: 63.39 kB / 484.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.1811, allocations: 0 / 484.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008955/0.182, allocations: 192.9 kB / 484.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1821, allocations: 51.41 kB / 484.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.1825, allocations: 267 kB / 485.1 MB, free: 416 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.1826, allocations: 37.69 kB / 485.1 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.1827, allocations: 112.1 kB / 485.2 MB, free: 256 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.1828, allocations: 19.72 kB / 485.2 MB, free: 236 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.1828, allocations: 21.7 kB / 485.3 MB, free: 208 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.1831, allocations: 334.8 kB / 485.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1832, allocations: 23.98 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1833, allocations: 45.58 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.1836, allocations: 49.72 kB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1836, allocations: 0 / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003634/0.1839, allocations: 109.4 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.184, allocations: 4 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.184, allocations: 8.031 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.184, allocations: 3.984 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.1842, allocations: 12 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1842, allocations: 160 / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1843, allocations: 15.86 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1844, allocations: 7.984 kB / 485.9 MB, free: 15.57 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 (10): * Single equations (assignments): 10 * 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.0001738/0.1845, allocations: 133.8 kB / 486 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.1846, allocations: 15.81 kB / 486 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/0.1847, allocations: 25.39 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1847, allocations: 4 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1848, allocations: 4 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1848, allocations: 3.938 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007528/0.1855, allocations: 403.3 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1856, allocations: 0 / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.1856, allocations: 8.375 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1857, allocations: 0 / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1857, allocations: 7.938 kB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.1857, allocations: 8.031 kB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1857, allocations: 3.938 kB / 486.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.1861, allocations: 216.1 kB / 486.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.1862, allocations: 88.92 kB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.1863, allocations: 3.938 kB / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.1864, allocations: 4 kB / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1865, allocations: 7.984 kB / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.1865, allocations: 8 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003746/0.1869, allocations: 208.4 kB / 487 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1869, allocations: 0 / 487 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005164/0.1875, allocations: 20 kB / 487 MB, free: 14.32 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001797/0.1893, allocations: 456.8 kB / 487.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.1896, allocations: 59.91 kB / 487.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1896, allocations: 4 kB / 487.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1897, allocations: 24 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.1904, allocations: 23.97 kB / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.1912, allocations: 359.2 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.1917, allocations: 0.7238 MB / 488.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.1918, allocations: 15.44 kB / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1918, allocations: 0 / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.007092/0.1989, allocations: 2.102 MB / 490.8 MB, free: 10.67 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches