Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000905/0.000905, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.086/1.086, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.078e-06/4.078e-06, allocations: 0 / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.081e-05/5.488e-05, allocations: 5.688 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.004127/0.004182, allocations: 1.517 MB / 274.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000289/0.004471, allocations: 31.91 kB / 274.6 MB, free: 292 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.525e-05/0.004566, allocations: 11.88 kB / 274.6 MB, free: 280 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.004602, allocations: 4 kB / 274.6 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.004667, allocations: 3.938 kB / 274.6 MB, free: 272 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.005066, allocations: 27.91 kB / 274.7 MB, free: 244 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.005194, allocations: 35.91 kB / 274.7 MB, free: 208 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.00533, allocations: 4 kB / 274.7 MB, free: 204 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.005447, allocations: 23.92 kB / 274.7 MB, free: 180 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.005509, allocations: 15.97 kB / 274.7 MB, free: 164 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.005554, allocations: 4 kB / 274.7 MB, free: 160 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.005571, allocations: 4 kB / 274.8 MB, free: 156 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.005606, allocations: 11.92 kB / 274.8 MB, free: 144 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.005654, allocations: 12 kB / 274.8 MB, free: 132 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.005837, allocations: 35.83 kB / 274.8 MB, free: 96 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.005842, allocations: 0 / 274.8 MB, free: 96 kB / 250.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.005844, allocations: 0 / 274.8 MB, free: 96 kB / 250.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.005853, allocations: 0 / 274.8 MB, free: 96 kB / 250.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.0006308/0.006484, allocations: 372.6 kB / 275.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.006542, allocations: 12.03 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.006602, allocations: 12.88 kB / 275.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.006858, allocations: 128.5 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.006888, allocations: 384 / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.006904, allocations: 8.375 kB / 275.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.007271, allocations: 122.1 kB / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.007281, allocations: 192 / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.007293, allocations: 384 / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.007304, allocations: 384 / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.925e-05/0.007353, allocations: 11.94 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.007507, allocations: 116.6 kB / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.007631, allocations: 46.98 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.231e-05/0.007693, allocations: 23.7 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.007703, allocations: 7.938 kB / 275.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.007735, allocations: 37.42 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.007737, allocations: 0 / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000238/0.007975, allocations: 53.69 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.008048, allocations: 59.34 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.008175, allocations: 169.9 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.00819, allocations: 25.7 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.00825, allocations: 130.9 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.008267, allocations: 3.953 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.008308, allocations: 19.38 kB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003015/0.00861, allocations: 0.4923 MB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.008631, allocations: 0 / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.008645, allocations: 4 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.008684, allocations: 11.69 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.008687, allocations: 0 / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.179e-05/0.008778, allocations: 45.62 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.008796, allocations: 4 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.008802, allocations: 0 / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.00882, allocations: 0 / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.008881, allocations: 8.094 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.008888, allocations: 4 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.008904, allocations: 3.938 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.008908, allocations: 0 / 276.7 MB, free: 13.97 MB / 266.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 8.947e-05/0.008998, allocations: 160.6 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/0.009087, allocations: 49.64 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.009119, allocations: 4 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.009124, allocations: 4 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.00913, allocations: 3.984 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.009135, allocations: 3.938 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.611e-05/0.009221, allocations: 116.6 kB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.009225, allocations: 7.922 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.00931, allocations: 11.94 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.009313, allocations: 0 / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.009322, allocations: 0 / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.009327, allocations: 3.984 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.009331, allocations: 4 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.009475, allocations: 92.38 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.009491, allocations: 3.953 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.009511, allocations: 0 / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.009553, allocations: 7.984 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.009557, allocations: 4 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.009564, allocations: 4 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.527e-05/0.009619, allocations: 127.2 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009619, allocations: 0 / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.009832, allocations: 4 kB / 277.3 MB, free: 13.29 MB / 266.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 0.0001408/0.009973, allocations: 107.1 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.01009, allocations: 19.69 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.0101, allocations: 0 / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.0101, allocations: 0 / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.01045, allocations: 28.25 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.01089, allocations: 128.9 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.01093, allocations: 63.34 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.334e-05/0.01096, allocations: 4.188 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.011, allocations: 8.5 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of SimCode: time 1.793e-06/0.011, allocations: 0 / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Templates: time 0.003367/0.01437, allocations: 0.5589 MB / 278.2 MB, free: 12.33 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","",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.0328090789262205]