Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9847/0.9847, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.124e-05, allocations: 5.266 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002342/0.002373, allocations: 1.517 MB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002321/0.002605, allocations: 39.84 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.002673, allocations: 4 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.002703, allocations: 3.938 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.002749, allocations: 3.938 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.003028, allocations: 35.83 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.003131, allocations: 39.91 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.003235, allocations: 7.984 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.003303, allocations: 23.92 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.003341, allocations: 15.97 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.003363, allocations: 4 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.003374, allocations: 4 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.003393, allocations: 8 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.003427, allocations: 15.92 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.003532, allocations: 19.97 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.003535, allocations: 0 / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.003537, allocations: 4 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.003544, allocations: 3.938 kB / 274.7 MB, free: 15.7 MB / 266.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.0003945/0.003938, allocations: 372.6 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.003983, allocations: 15.97 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.004031, allocations: 8.891 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.004203, allocations: 128.5 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.004226, allocations: 12.3 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.004239, allocations: 4.375 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.00449, allocations: 114.2 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.004498, allocations: 192 / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.004509, allocations: 4.375 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.004518, allocations: 4.375 kB / 275.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.004553, allocations: 11.88 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.004658, allocations: 116.6 kB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.00474, allocations: 43.05 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.004777, allocations: 19.72 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.004786, allocations: 4.031 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.004808, allocations: 37.39 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.004809, allocations: 0 / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001583/0.004968, allocations: 57.62 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.005012, allocations: 55.41 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.005091, allocations: 169.9 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.005103, allocations: 25.7 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.005146, allocations: 130.9 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.00516, allocations: 7.891 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.005192, allocations: 27.36 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.005304, allocations: 492.1 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.005316, allocations: 4 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.005324, allocations: 4 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.005349, allocations: 11.69 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005352, allocations: 3.938 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.311e-05/0.005405, allocations: 37.69 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.00542, allocations: 6.812 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005426, allocations: 0 / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.005441, allocations: 8.094 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.005495, allocations: 0 / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.005501, allocations: 320 / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.005513, allocations: 7.938 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-06/0.005517, allocations: 0 / 276.6 MB, free: 13.58 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 7.166e-05/0.005588, allocations: 156.6 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.005648, allocations: 53.77 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.005682, allocations: 20.02 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.005685, allocations: 0 / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.005692, allocations: 4 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.005697, allocations: 7.938 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.643e-05/0.005754, allocations: 112.6 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005755, allocations: 0 / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.005809, allocations: 8 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.005813, allocations: 4 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.005822, allocations: 3.984 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005822, allocations: 0 / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.005825, allocations: 3.984 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.734e-05/0.005922, allocations: 96.31 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.005931, allocations: 3.953 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.005948, allocations: 7.938 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.005968, allocations: 11.98 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-06/0.005971, allocations: 0 / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.005975, allocations: 0 / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.006015, allocations: 127.2 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006015, allocations: 0 / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.006134, allocations: 4 kB / 277.2 MB, free: 12.89 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 9.472e-05/0.006229, allocations: 103.2 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.882e-05/0.006327, allocations: 19.69 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.00633, allocations: 0 / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.00633, allocations: 4.062 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.006619, allocations: 22.22 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.006985, allocations: 136.8 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.007025, allocations: 59.34 kB / 277.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.946e-05/0.007045, allocations: 0 / 277.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.007078, allocations: 8.5 kB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.007079, allocations: 0 / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Templates: time 0.002898/0.009976, allocations: 0.5627 MB / 278.1 MB, free: 11.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.9703690609894693]