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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008374, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004464/0.004464, allocations: 148.5 kB / 24.68 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8285/0.8285, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 3.938 kB / 319.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.673e-05, allocations: 5.797 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001881/0.001898, allocations: 1.469 MB / 321.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001663/0.002064, allocations: 35.84 kB / 321.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.002117, allocations: 4 kB / 321.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.002142, allocations: 3.938 kB / 321.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.002179, allocations: 7.922 kB / 321.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.002409, allocations: 27.92 kB / 321.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.868e-05/0.002488, allocations: 43.84 kB / 321.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.002575, allocations: 3.984 kB / 321.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.002632, allocations: 23.92 kB / 321.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.171e-05/0.002664, allocations: 11.98 kB / 321.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.002686, allocations: 7.938 kB / 321.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.002694, allocations: 4 kB / 321.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.002713, allocations: 15.92 kB / 321.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.002739, allocations: 7.984 kB / 321.4 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.541e-05/0.002824, allocations: 43.88 kB / 321.4 MB, free: 4.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002826, allocations: 4 kB / 321.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.002828, allocations: 3.984 kB / 321.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.002831, allocations: 0 / 321.4 MB, free: 4.145 MB / 282.7 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.0003491/0.00318, allocations: 285.5 kB / 321.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.003212, allocations: 8.922 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.00324, allocations: 8.891 kB / 321.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.003381, allocations: 117.7 kB / 321.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.003401, allocations: 4.375 kB / 321.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.00341, allocations: 4.375 kB / 321.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.003733, allocations: 163.7 kB / 322 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003741, allocations: 192 / 322 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003749, allocations: 384 / 322 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.003753, allocations: 384 / 322 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.003872, allocations: 55.86 kB / 322 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.004e-05/0.003962, allocations: 109.3 kB / 322.1 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.004121, allocations: 86.52 kB / 322.2 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.004189, allocations: 36.83 kB / 322.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.004198, allocations: 0 / 322.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.004216, allocations: 38.56 kB / 322.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 4.91e-07/0.004217, allocations: 3.938 kB / 322.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002482/0.004465, allocations: 105.6 kB / 322.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.004508, allocations: 67.33 kB / 322.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.365e-05/0.004561, allocations: 105.8 kB / 322.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.004571, allocations: 25.7 kB / 322.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.004596, allocations: 88.12 kB / 322.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.004606, allocations: 0 / 322.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.004627, allocations: 13.72 kB / 322.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.004689, allocations: 314.8 kB / 323 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.004697, allocations: 0 / 323 MB, free: 2.367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.004703, allocations: 12 kB / 323 MB, free: 2.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.733e-05/0.00472, allocations: 8.859 kB / 323 MB, free: 2.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004722, allocations: 0 / 323 MB, free: 2.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.85e-05/0.00476, allocations: 49.58 kB / 323.1 MB, free: 2.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.004771, allocations: 7.938 kB / 323.1 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.004774, allocations: 0 / 323.1 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.004785, allocations: 0 / 323.1 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-05/0.004824, allocations: 4 kB / 323.1 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.004828, allocations: 0 / 323.1 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-06/0.004836, allocations: 8.031 kB / 323.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.00484, allocations: 4 kB / 323.1 MB, free: 2.266 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 5.203e-05/0.004892, allocations: 109.8 kB / 323.2 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.005016, allocations: 85.62 kB / 323.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.005034, allocations: 8 kB / 323.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.005036, allocations: 0 / 323.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005039, allocations: 0 / 323.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.005043, allocations: 3.938 kB / 323.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.426e-05/0.005087, allocations: 113.3 kB / 323.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005088, allocations: 0 / 323.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.005133, allocations: 23.92 kB / 323.4 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.005134, allocations: 7.922 kB / 323.4 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.00514, allocations: 0 / 323.4 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005141, allocations: 0 / 323.4 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005141, allocations: 0 / 323.4 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.00528, allocations: 121.2 kB / 323.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.005287, allocations: 4 kB / 323.6 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.005297, allocations: 0 / 323.6 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.705e-05/0.005324, allocations: 8.031 kB / 323.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-06/0.005327, allocations: 3.984 kB / 323.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.00533, allocations: 8 kB / 323.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.461e-05/0.005355, allocations: 87.27 kB / 323.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005355, allocations: 0 / 323.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001103/0.005465, allocations: 4 kB / 323.7 MB, free: 1.617 MB / 282.7 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 6.374e-05/0.005529, allocations: 103.2 kB / 323.8 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.005632, allocations: 35.91 kB / 323.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005633, allocations: 0 / 323.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.005634, allocations: 0 / 323.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.005846, allocations: 43.94 kB / 323.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.00607, allocations: 150.7 kB / 324 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.006104, allocations: 67.41 kB / 324.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.006125, allocations: 12.44 kB / 324.1 MB, free: 1.152 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006125, allocations: 4 kB / 324.1 MB, free: 1.148 MB / 282.7 MB Notification: Performance of Templates: time 0.001291/0.007416, allocations: 0.6747 MB / 324.8 MB, free: 488 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6997193936258554]