Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.648/1.648, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 51.91 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3652, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003882/0.3691, allocations: 1.5 MB / 433.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3701, allocations: 422.9 kB / 434.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.624e-05/0.3702, allocations: 0 / 434.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.3703, allocations: 3.938 kB / 434.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.301e-05/0.3704, allocations: 11.92 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.3707, allocations: 23.92 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3708, allocations: 39.86 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.371, allocations: 11.97 kB / 434.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.371, allocations: 11.94 kB / 434.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.3711, allocations: 19.92 kB / 434.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.3711, allocations: 4 kB / 434.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.3711, allocations: 4 kB / 434.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3712, allocations: 3.938 kB / 434.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.3712, allocations: 15.92 kB / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3713, allocations: 38.83 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3713, allocations: 4 kB / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3713, allocations: 0 / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3714, allocations: 0 / 434.4 MB, free: 4.602 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.0005863/0.3719, allocations: 277.9 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.372, allocations: 8.031 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.372, allocations: 8.891 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3723, allocations: 118.5 kB / 434.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3723, allocations: 4.375 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3723, allocations: 384 / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.3728, allocations: 147.5 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3728, allocations: 0 / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3729, allocations: 4 kB / 435 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3729, allocations: 0 / 435 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.373, allocations: 39.95 kB / 435 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.3732, allocations: 105.3 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.3735, allocations: 78.45 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3736, allocations: 32.92 kB / 435.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3736, allocations: 3.984 kB / 435.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3736, allocations: 30.56 kB / 435.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3736, allocations: 4 kB / 435.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003836/0.374, allocations: 101.6 kB / 435.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.3741, allocations: 55.41 kB / 435.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3742, allocations: 109.8 kB / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3742, allocations: 25.7 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.3743, allocations: 84.14 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.719e-06/0.3743, allocations: 4 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.3743, allocations: 17.66 kB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.3746, allocations: 318.8 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.3746, allocations: 8 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.962e-05/0.3746, allocations: 27.44 kB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.3747, allocations: 35.36 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3747, allocations: 4 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.819e-05/0.3748, allocations: 53.59 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3748, allocations: 8.125 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3748, allocations: 3.938 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3748, allocations: 4 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.3749, allocations: 7.984 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3749, allocations: 4.25 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.3749, allocations: 8 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.3749, allocations: 0 / 436.1 MB, free: 2.699 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.0001495/0.3751, allocations: 113.8 kB / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.3753, allocations: 77.61 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.3753, allocations: 15.94 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3753, allocations: 0 / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3753, allocations: 0 / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.3753, allocations: 3.938 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3755, allocations: 105.2 kB / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3755, allocations: 4 kB / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.3756, allocations: 11.98 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3756, allocations: 3.938 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3756, allocations: 4 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3756, allocations: 3.938 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3756, allocations: 7.984 kB / 436.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.3758, allocations: 101.1 kB / 436.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.3759, allocations: 3.953 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3759, allocations: 4 kB / 436.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.74e-05/0.3759, allocations: 7.922 kB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-06/0.3759, allocations: 4 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3759, allocations: 4 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.456e-05/0.376, allocations: 83.27 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.376, allocations: 4 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001922/0.3762, allocations: 4 kB / 436.7 MB, free: 2.07 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.0001453/0.3763, allocations: 102.8 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.3765, allocations: 35.91 kB / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3765, allocations: 0 / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.3765, allocations: 0 / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3769, allocations: 43.08 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.3772, allocations: 121.7 kB / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3774, allocations: 63.34 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.257e-05/0.3774, allocations: 11.97 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.3775, allocations: 7.438 kB / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3775, allocations: 0 / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of Templates: time 0.003322/0.3808, allocations: 477.4 kB / 437.5 MB, free: 1.184 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.036530757002765]