Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001109/0.001109, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0012/0.0012, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 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 1.054/1.054, allocations: 177 MB / 205.2 MB, free: 5.027 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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 3.938 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.62e-05, allocations: 5.266 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002382/0.002409, allocations: 1.573 MB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000693/0.003102, allocations: 442.8 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.003167, allocations: 0 / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.003195, allocations: 3.938 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.392e-05/0.003269, allocations: 11.86 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.003475, allocations: 23.92 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.954e-05/0.003555, allocations: 43.84 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.488e-05/0.00363, allocations: 11.98 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.003699, allocations: 27.86 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.003731, allocations: 7.984 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.003747, allocations: 0 / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.003754, allocations: 4 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.003771, allocations: 8 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.003794, allocations: 19.91 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.491e-05/0.003869, allocations: 19.92 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003871, allocations: 0 / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003872, allocations: 0 / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003876, allocations: 4 kB / 275.6 MB, free: 14.8 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.0002622/0.004138, allocations: 248.9 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.004173, allocations: 11.98 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.004195, allocations: 4.938 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.004318, allocations: 121.7 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-06/0.004325, allocations: 384 / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.004334, allocations: 12.36 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.004504, allocations: 108.5 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.004509, allocations: 192 / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.004516, allocations: 4.359 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004521, allocations: 3.938 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.004538, allocations: 4 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.389e-05/0.004602, allocations: 61.05 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.475e-05/0.004657, allocations: 38.48 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.004676, allocations: 12.86 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.004688, allocations: 0 / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.004708, allocations: 34.56 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.004709, allocations: 4 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.271e-05/0.004802, allocations: 45.67 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.004836, allocations: 55.41 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.004894, allocations: 106.9 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.004903, allocations: 33.64 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.004926, allocations: 88.12 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.004928, allocations: 0 / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.004947, allocations: 13.72 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.005029, allocations: 318.8 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-06/0.005032, allocations: 0 / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-06/0.005036, allocations: 4 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.005059, allocations: 83.28 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-05/0.005081, allocations: 75.28 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.964e-05/0.005121, allocations: 29.69 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.005157, allocations: 83.28 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.005177, allocations: 79.22 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/0.005492, allocations: 150.6 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.691e-05/0.005509, allocations: 79.28 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/0.005546, allocations: 158.6 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.00559, allocations: 79.22 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.005621, allocations: 87.22 kB / 277.8 MB, free: 12.44 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.939e-05/0.005701, allocations: 189.1 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.005756, allocations: 41.69 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.005777, allocations: 11.94 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005778, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.00578, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005783, allocations: 240 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.169e-05/0.005834, allocations: 73.73 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.005838, allocations: 3.984 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/0.005914, allocations: 8 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.005917, allocations: 3.984 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.005921, allocations: 8 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.005924, allocations: 3.938 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.005925, allocations: 0 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.88e-05/0.005964, allocations: 57.06 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.00597, allocations: 0 / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.005977, allocations: 4 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.00599, allocations: 4 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.005993, allocations: 0 / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.006002, allocations: 8 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.046e-05/0.006022, allocations: 16.83 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006022, allocations: 0 / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001103/0.006133, allocations: 8 kB / 278.2 MB, free: 11.95 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 8.8e-05/0.006221, allocations: 72.42 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.052e-05/0.006261, allocations: 11.94 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.006264, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.006264, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.00641, allocations: 21.05 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.006616, allocations: 115.5 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.006647, allocations: 59.34 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.748e-06/0.006656, allocations: 4 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.006696, allocations: 51.38 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.006697, allocations: 0 / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of Templates: time 0.001868/0.008564, allocations: 452.4 kB / 279 MB, free: 11.13 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.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.7089372598566115]