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.001057/0.001057, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002607, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009302/0.0009302, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002204, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9621/0.9621, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0871/1.049, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.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.473e-06/1.473e-06, allocations: 3.938 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.672e-05, allocations: 10.39 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002433/0.00246, allocations: 1.544 MB / 241.1 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 9.315e-05/0.002553, allocations: 39.84 kB / 241.1 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.002599, allocations: 0 / 241.1 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.00262, allocations: 3.938 kB / 241.2 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.432e-05/0.002644, allocations: 3.938 kB / 241.2 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.002775, allocations: 23.95 kB / 241.2 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.002859, allocations: 39.86 kB / 241.2 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.002932, allocations: 8 kB / 241.2 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.003003, allocations: 31.95 kB / 241.3 MB, free: 1.465 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.65e-05/0.003029, allocations: 19.92 kB / 241.3 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.00304, allocations: 4 kB / 241.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.003049, allocations: 0 / 241.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.003064, allocations: 8 kB / 241.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.003089, allocations: 7.938 kB / 241.3 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.677e-05/0.003166, allocations: 23.92 kB / 241.3 MB, free: 1.402 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.003177, allocations: 0 / 241.3 MB, free: 1.402 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003178, allocations: 0 / 241.3 MB, free: 1.402 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.003192, allocations: 0 / 241.3 MB, free: 1.402 MB / 234.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.0003269/0.003519, allocations: 268.4 kB / 241.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.00355, allocations: 16.03 kB / 241.6 MB, free: 1.098 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.003575, allocations: 4.938 kB / 241.6 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.003704, allocations: 121.7 kB / 241.7 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.00372, allocations: 4.359 kB / 241.7 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.003726, allocations: 8.375 kB / 241.7 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.003871, allocations: 108.5 kB / 241.8 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.00388, allocations: 192 / 241.8 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.003885, allocations: 4.375 kB / 241.8 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.003891, allocations: 384 / 241.8 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.003914, allocations: 15.92 kB / 241.9 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.861e-05/0.003962, allocations: 53.05 kB / 241.9 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.39e-05/0.004016, allocations: 34.55 kB / 241.9 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.004035, allocations: 16.86 kB / 242 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.004042, allocations: 0 / 242 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.00406, allocations: 38.48 kB / 242 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 5.41e-07/0.004061, allocations: 0 / 242 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 8.659e-05/0.004147, allocations: 45.69 kB / 242 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.004186, allocations: 51.41 kB / 242.1 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.754e-05/0.004234, allocations: 114.7 kB / 242.2 MB, free: 392 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.004246, allocations: 33.7 kB / 242.2 MB, free: 352 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.791e-05/0.004264, allocations: 80.14 kB / 242.3 MB, free: 268 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.004271, allocations: 0 / 242.3 MB, free: 268 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.004289, allocations: 13.72 kB / 242.3 MB, free: 248 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.004374, allocations: 326.8 kB / 242.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-06/0.004379, allocations: 11.88 kB / 242.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-06/0.004383, allocations: 0 / 242.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.553e-05/0.004398, allocations: 8.859 kB / 242.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.0044, allocations: 4.062 kB / 242.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.926e-05/0.004429, allocations: 37.69 kB / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.004438, allocations: 4 kB / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.004442, allocations: 0 / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.004451, allocations: 0 / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.429e-05/0.004485, allocations: 4 kB / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.004487, allocations: 0 / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-06/0.004495, allocations: 0 / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-06/0.004497, allocations: 3.938 kB / 242.7 MB, free: 15.83 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 5.478e-05/0.004552, allocations: 117.8 kB / 242.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.004581, allocations: 41.72 kB / 242.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.004602, allocations: 8 kB / 242.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.004605, allocations: 4.219 kB / 242.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.004607, allocations: 0 / 242.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.004611, allocations: 7.984 kB / 242.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.277e-05/0.004654, allocations: 77.78 kB / 243 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.004654, allocations: 0 / 243 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.004695, allocations: 15.98 kB / 243 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.004701, allocations: 3.984 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.004701, allocations: 0 / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-06/0.004705, allocations: 0 / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004705, allocations: 4 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.004707, allocations: 4 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.196e-05/0.004739, allocations: 57.02 kB / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.004753, allocations: 0 / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.004771, allocations: 11.98 kB / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-06/0.004773, allocations: 0 / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.004775, allocations: 0 / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.008e-05/0.004786, allocations: 12.84 kB / 243.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004786, allocations: 3.938 kB / 243.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.552e-05/0.004871, allocations: 4 kB / 243.1 MB, free: 15.41 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 9.11e-05/0.004962, allocations: 80.42 kB / 243.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.252e-05/0.005015, allocations: 16.8 kB / 243.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.005018, allocations: 4 kB / 243.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.9e-07/0.005019, allocations: 0 / 243.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.005145, allocations: 29.3 kB / 243.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.005479, allocations: 140.2 kB / 243.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.162e-05/0.005511, allocations: 55.36 kB / 243.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.201e-05/0.005523, allocations: 0 / 243.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.00557, allocations: 63.42 kB / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00557, allocations: 0 / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of Templates: time 0.001788/0.007358, allocations: 0.6058 MB / 244.1 MB, free: 14.38 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4503006851300597]