Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002453/0.002453, allocations: 105.2 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002881/0.002881, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.45/2.45, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 47.23 kB / 300.6 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1834, allocations: 49.44 MB / 350.1 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.004857/0.1884, allocations: 1.511 MB / 351.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003315/0.1888, allocations: 43.83 kB / 351.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1889, allocations: 0 / 351.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.831e-05/0.189, allocations: 0 / 351.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.67e-05/0.1891, allocations: 3.938 kB / 351.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.1896, allocations: 31.97 kB / 351.7 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1898, allocations: 39.8 kB / 351.7 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.19, allocations: 8 kB / 351.7 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.1901, allocations: 15.97 kB / 351.7 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.1901, allocations: 15.92 kB / 351.7 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1902, allocations: 4 kB / 351.7 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.1902, allocations: 3.938 kB / 351.7 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.1903, allocations: 7.984 kB / 351.7 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.1903, allocations: 15.94 kB / 351.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1905, allocations: 27.94 kB / 351.8 MB, free: 3.094 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1905, allocations: 3.938 kB / 351.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1905, allocations: 0 / 351.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.1905, allocations: 0 / 351.8 MB, free: 3.09 MB / 286.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.000845/0.1914, allocations: 355.7 kB / 352.1 MB, free: 2.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.1915, allocations: 12.03 kB / 352.1 MB, free: 2.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.1915, allocations: 8.844 kB / 352.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1919, allocations: 180.2 kB / 352.3 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.1919, allocations: 8.359 kB / 352.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.192, allocations: 4.375 kB / 352.3 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009129/0.1929, allocations: 151.8 kB / 352.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1929, allocations: 192 / 352.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1929, allocations: 7.938 kB / 352.5 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.193, allocations: 0 / 352.5 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.1934, allocations: 51.88 kB / 352.6 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.1936, allocations: 157.7 kB / 352.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.1942, allocations: 86.55 kB / 352.8 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.1944, allocations: 44.84 kB / 352.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1945, allocations: 0 / 352.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.1945, allocations: 34.56 kB / 352.9 MB, free: 1.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.1945, allocations: 0 / 352.9 MB, free: 1.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0007932/0.1953, allocations: 113.5 kB / 353 MB, free: 1.723 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/0.1954, allocations: 59.41 kB / 353 MB, free: 1.652 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1956, allocations: 105.8 kB / 353.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1956, allocations: 33.64 kB / 353.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.1957, allocations: 84.14 kB / 353.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1958, allocations: 7.891 kB / 353.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.1958, allocations: 17.72 kB / 353.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.196, allocations: 314.8 kB / 353.6 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.1961, allocations: 7.984 kB / 353.6 MB, free: 1.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.1961, allocations: 31.44 kB / 353.6 MB, free: 1.016 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.476e-05/0.1962, allocations: 35.38 kB / 353.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1962, allocations: 0 / 353.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001619/0.1964, allocations: 65.56 kB / 353.7 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1964, allocations: 7.938 kB / 353.7 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.1965, allocations: 7.938 kB / 353.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1965, allocations: 0 / 353.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.1966, allocations: 8 kB / 353.7 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1966, allocations: 3.984 kB / 353.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.1967, allocations: 4 kB / 353.8 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.1967, allocations: 4 kB / 353.8 MB, free: 0.8633 MB / 286.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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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 0.0001241/0.1968, allocations: 114 kB / 353.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004921/0.1973, allocations: 93.48 kB / 354 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.1974, allocations: 7.844 kB / 354 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1974, allocations: 3.984 kB / 354 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.1974, allocations: 4 kB / 354 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1974, allocations: 0 / 354 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1976, allocations: 157.7 kB / 354.1 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1977, allocations: 0 / 354.1 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1978, allocations: 20.11 kB / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1979, allocations: 0 / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1979, allocations: 7.938 kB / 354.2 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.1979, allocations: 4 kB / 354.2 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1979, allocations: 0 / 354.2 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.1984, allocations: 117 kB / 354.3 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.1985, allocations: 84.95 kB / 354.4 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.1986, allocations: 3.938 kB / 354.4 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1987, allocations: 11.98 kB / 354.4 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-06/0.1987, allocations: 0 / 354.4 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.1987, allocations: 3.984 kB / 354.4 MB, free: 136 kB / 286.1 MB Notification: Performance of sorting global known variables: time 7.715e-05/0.1988, allocations: 87.28 kB / 354.5 MB, free: 48 kB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1988, allocations: 0 / 354.5 MB, free: 48 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003889/0.1992, allocations: 8 kB / 354.5 MB, free: 40 kB / 286.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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.0002765/0.1995, allocations: 103.2 kB / 354.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.1999, allocations: 47.84 kB / 354.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1999, allocations: 0 / 354.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1999, allocations: 256 / 354.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.2006, allocations: 48.28 kB / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.2013, allocations: 149.1 kB / 354.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.2017, allocations: 0.6887 MB / 355.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.2017, allocations: 15.44 kB / 355.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2017, allocations: 0 / 355.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of Templates: time 0.003804/0.2056, allocations: 0.6825 MB / 356.2 MB, free: 14.25 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches