Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 117.9 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 227.4 MB / 246.5 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 67.36 kB / 306.5 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1763, allocations: 50.54 MB / 357 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.005142/0.1815, allocations: 1.538 MB / 358.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1829, allocations: 435 kB / 359 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1831, allocations: 4 kB / 359 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.687e-05/0.1832, allocations: 0 / 359 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1833, allocations: 11.91 kB / 359 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.1837, allocations: 20 kB / 359 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1839, allocations: 47.8 kB / 359.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1841, allocations: 19.97 kB / 359.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.1842, allocations: 11.94 kB / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.1842, allocations: 15.92 kB / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1843, allocations: 4 kB / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.1843, allocations: 4 kB / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.1843, allocations: 3.984 kB / 359.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.1844, allocations: 19.88 kB / 359.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1846, allocations: 35.88 kB / 359.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1846, allocations: 4 kB / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1846, allocations: 0 / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1846, allocations: 0 / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000804/0.1855, allocations: 347.6 kB / 359.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.1855, allocations: 12.03 kB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.1856, allocations: 0.9375 kB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1859, allocations: 188.2 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1859, allocations: 4.312 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1859, allocations: 4.375 kB / 359.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.1866, allocations: 139.6 kB / 359.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1866, allocations: 0 / 359.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1866, allocations: 3.984 kB / 359.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1866, allocations: 0 / 359.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.1868, allocations: 39.95 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.1871, allocations: 165.6 kB / 360.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.1876, allocations: 78.45 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1877, allocations: 36.92 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.1878, allocations: 3.984 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.1878, allocations: 38.5 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.1878, allocations: 0 / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005388/0.1884, allocations: 97.48 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.1885, allocations: 59.41 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.1886, allocations: 105.8 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.1887, allocations: 25.7 kB / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.1888, allocations: 84.14 kB / 360.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1888, allocations: 4 kB / 360.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.1889, allocations: 17.7 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.1891, allocations: 318.8 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.1891, allocations: 0 / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.1892, allocations: 35.42 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.317e-05/0.1893, allocations: 39.31 kB / 361 MB, free: 10.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1893, allocations: 0 / 361 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001352/0.1894, allocations: 57.62 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.1895, allocations: 7.938 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1895, allocations: 4 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.1895, allocations: 0 / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.806e-05/0.1896, allocations: 11.94 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1897, allocations: 0 / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.1897, allocations: 0 / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1897, allocations: 4 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001523/0.1899, allocations: 114 kB / 361.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.1902, allocations: 81.5 kB / 361.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.1902, allocations: 7.891 kB / 361.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1902, allocations: 4 kB / 361.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1903, allocations: 0 / 361.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.1903, allocations: 0 / 361.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.1905, allocations: 165.6 kB / 361.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1905, allocations: 0 / 361.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.545e-05/0.1906, allocations: 11.94 kB / 361.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.1906, allocations: 7.938 kB / 361.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1906, allocations: 4.328 kB / 361.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1906, allocations: 7.984 kB / 361.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1907, allocations: 0 / 361.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.191, allocations: 97.08 kB / 361.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-05/0.1911, allocations: 84.95 kB / 361.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1911, allocations: 12 kB / 361.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.939e-05/0.1912, allocations: 7.984 kB / 361.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-06/0.1912, allocations: 0 / 361.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1912, allocations: 0 / 361.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.9e-05/0.1913, allocations: 83.28 kB / 361.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1913, allocations: 0 / 361.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1916, allocations: 4 kB / 361.8 MB, free: 9.25 MB / 302.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 (4): * Single equations (assignments): 4 * 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.0001687/0.1918, allocations: 103.2 kB / 361.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.192, allocations: 35.97 kB / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.192, allocations: 0 / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.1921, allocations: 0 / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.1927, allocations: 39.89 kB / 362 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.1932, allocations: 145.7 kB / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.1938, allocations: 0.6807 MB / 362.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.1938, allocations: 0 / 362.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.1938, allocations: 7.438 kB / 362.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1938, allocations: 0 / 362.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of Templates: time 0.004248/0.1981, allocations: 412.2 kB / 363.2 MB, free: 7.789 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches