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.00144/0.00144, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.001823/0.001823, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 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.721/1.721, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002086/0.002086, allocations: 63.89 kB / 378.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3636, allocations: 53.36 MB / 432.1 MB, free: 7.125 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002853/0.3664, allocations: 1.504 MB / 433.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008535/0.3673, allocations: 454.8 kB / 434.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.3673, allocations: 0 / 434.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.3674, allocations: 7.938 kB / 434.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.3674, allocations: 7.938 kB / 434.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.3677, allocations: 27.91 kB / 434.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.3678, allocations: 35.86 kB / 434.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.3679, allocations: 11.98 kB / 434.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.3679, allocations: 15.88 kB / 434.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.235e-05/0.368, allocations: 19.92 kB / 434.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.368, allocations: 0 / 434.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.368, allocations: 4 kB / 434.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.368, allocations: 7.984 kB / 434.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.3681, allocations: 19.86 kB / 434.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3682, allocations: 37.86 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3682, allocations: 0 / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3682, allocations: 4 kB / 434.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.892e-06/0.3682, allocations: 0 / 434.3 MB, free: 4.973 MB / 334.1 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.0005298/0.3687, allocations: 273.9 kB / 434.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3688, allocations: 12.03 kB / 434.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.3688, allocations: 4.891 kB / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.3691, allocations: 122.5 kB / 434.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3691, allocations: 8.375 kB / 434.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3691, allocations: 4.375 kB / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.3696, allocations: 139.5 kB / 434.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3696, allocations: 0 / 434.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3696, allocations: 4 kB / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3696, allocations: 0 / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.3698, allocations: 39.95 kB / 434.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.37, allocations: 128.8 kB / 435 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.3703, allocations: 90.42 kB / 435.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3704, allocations: 28.92 kB / 435.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3704, allocations: 0 / 435.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3704, allocations: 34.5 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3704, allocations: 0 / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004224/0.3708, allocations: 101.6 kB / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.3709, allocations: 63.28 kB / 435.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3711, allocations: 109.8 kB / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3711, allocations: 29.64 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.3711, allocations: 80.14 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.3712, allocations: 4 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.3712, allocations: 13.72 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3714, allocations: 322.8 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.3714, allocations: 4 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.3714, allocations: 23.44 kB / 435.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.71e-05/0.3715, allocations: 39.38 kB / 435.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3715, allocations: 4 kB / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.397e-05/0.3716, allocations: 57.58 kB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.3716, allocations: 10.59 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3716, allocations: 0 / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/0.3717, allocations: 4 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3718, allocations: 7.984 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.3718, allocations: 7.938 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.3718, allocations: 4 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3718, allocations: 4.125 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001447/0.372, allocations: 109.8 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.3722, allocations: 77.59 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.3723, allocations: 8 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3723, allocations: 0 / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3723, allocations: 0 / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3723, allocations: 4 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3725, allocations: 136.6 kB / 436.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3725, allocations: 4 kB / 436.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.3726, allocations: 11.98 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3726, allocations: 3.938 kB / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3726, allocations: 0 / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3726, allocations: 3.938 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3726, allocations: 4 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.3729, allocations: 105.1 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.3729, allocations: 7.891 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3729, allocations: 4.375 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.373, allocations: 0 / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-06/0.373, allocations: 7.938 kB / 436.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.373, allocations: 3.984 kB / 436.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.3731, allocations: 83.28 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3731, allocations: 0 / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.3733, allocations: 4 kB / 436.6 MB, free: 2.371 MB / 334.1 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 0.0001801/0.3735, allocations: 99.25 kB / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3737, allocations: 47.83 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3737, allocations: 0 / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-07/0.3737, allocations: 0 / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.3741, allocations: 27.97 kB / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.3745, allocations: 133.3 kB / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.375, allocations: 0.6807 MB / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.375, allocations: 3.984 kB / 437.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.3751, allocations: 7.438 kB / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3751, allocations: 4 kB / 437.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of Templates: time 0.003514/0.3786, allocations: 453.8 kB / 438 MB, free: 0.8867 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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: 5.274470706470311]