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.002567/0.002567, allocations: 95.86 kB / 20.96 MB, free: 3.457 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.002902/0.002902, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 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 1.636/1.636, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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.704e-06/1.704e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.818e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002955/0.002983, allocations: 1.471 MB / 268.8 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.003181, allocations: 35.91 kB / 268.8 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.003237, allocations: 3.938 kB / 268.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.00326, allocations: 0 / 268.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.003311, allocations: 11.86 kB / 268.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.003572, allocations: 23.92 kB / 268.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.003674, allocations: 43.89 kB / 268.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.003776, allocations: 12 kB / 268.9 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.00386, allocations: 19.92 kB / 269 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.003901, allocations: 11.98 kB / 269 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.003923, allocations: 4 kB / 269 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.003935, allocations: 4 kB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.003963, allocations: 15.91 kB / 269 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.003997, allocations: 8 kB / 269 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.004105, allocations: 43.81 kB / 269 MB, free: 5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.004108, allocations: 0 / 269 MB, free: 5 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004109, allocations: 0 / 269 MB, free: 5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.004113, allocations: 0 / 269 MB, free: 5 MB / 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.0005907/0.004704, allocations: 384.2 kB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.004742, allocations: 8.922 kB / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.004788, allocations: 8.891 kB / 269.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.004988, allocations: 124.6 kB / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.005007, allocations: 384 / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.005022, allocations: 8.375 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.005487, allocations: 145.4 kB / 269.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.005496, allocations: 192 / 269.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.005504, allocations: 4.375 kB / 269.7 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005509, allocations: 384 / 269.7 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.005678, allocations: 39.91 kB / 269.7 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.005837, allocations: 124.5 kB / 269.9 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.006098, allocations: 74.97 kB / 269.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.00622, allocations: 35.75 kB / 270 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.006238, allocations: 0 / 270 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.006274, allocations: 37.38 kB / 270 MB, free: 3.887 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.006275, allocations: 0 / 270 MB, free: 3.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003694/0.006644, allocations: 89.66 kB / 270.1 MB, free: 3.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.006707, allocations: 63.34 kB / 270.2 MB, free: 3.719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.006849, allocations: 177.8 kB / 270.3 MB, free: 3.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.006868, allocations: 25.7 kB / 270.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.006946, allocations: 130.9 kB / 270.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.006955, allocations: 0 / 270.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.006994, allocations: 19.38 kB / 270.5 MB, free: 3.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002661/0.00726, allocations: 0.4884 MB / 271 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.007272, allocations: 4 kB / 271 MB, free: 2.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-06/0.007278, allocations: 4 kB / 271 MB, free: 2.828 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.007307, allocations: 11.75 kB / 271 MB, free: 2.812 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.007309, allocations: 4 kB / 271 MB, free: 2.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.947e-05/0.007378, allocations: 45.59 kB / 271.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.007401, allocations: 11.98 kB / 271.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.007406, allocations: 0 / 271.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.00742, allocations: 0 / 271.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.007481, allocations: 4 kB / 271.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007487, allocations: 0 / 271.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.007508, allocations: 3.938 kB / 271.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.007512, allocations: 0 / 271.1 MB, free: 2.738 MB / 250.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 0.0001585/0.007671, allocations: 164.6 kB / 271.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.007916, allocations: 65.67 kB / 271.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.007949, allocations: 11.98 kB / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007951, allocations: 0 / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.007954, allocations: 0 / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.007959, allocations: 3.938 kB / 271.3 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.008081, allocations: 116.6 kB / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008083, allocations: 4 kB / 271.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.008158, allocations: 11.94 kB / 271.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.00816, allocations: 0 / 271.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.008173, allocations: 8.219 kB / 271.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.008174, allocations: 4 kB / 271.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008175, allocations: 0 / 271.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.008438, allocations: 128.2 kB / 271.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.008448, allocations: 3.984 kB / 271.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.008465, allocations: 4 kB / 271.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.008509, allocations: 4 kB / 271.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-06/0.008512, allocations: 0 / 271.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.008518, allocations: 4 kB / 271.6 MB, free: 2.133 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.518e-05/0.008603, allocations: 131.5 kB / 271.7 MB, free: 2.004 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008603, allocations: 0 / 271.7 MB, free: 2.004 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.008777, allocations: 4 kB / 271.7 MB, free: 2 MB / 250.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.0001257/0.008903, allocations: 107.1 kB / 271.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.009074, allocations: 31.67 kB / 271.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009076, allocations: 0 / 271.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.009077, allocations: 0 / 271.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.0094, allocations: 44.38 kB / 271.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.009768, allocations: 124.8 kB / 272 MB, free: 1.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.475e-05/0.009843, allocations: 75.28 kB / 272.1 MB, free: 1.566 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.048e-05/0.009863, allocations: 7.969 kB / 272.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.009899, allocations: 8.5 kB / 272.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009899, allocations: 0 / 272.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of Templates: time 0.003339/0.01324, allocations: 0.5641 MB / 272.7 MB, free: 0.9922 MB / 250.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] 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: 4.383932727971114]