Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00149/0.00149, 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.001594/0.001594, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.644/1.644, allocations: 230.6 MB / 258.3 MB, free: 8.07 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 68.75 kB / 379 MB, free: 2.68 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.375, allocations: 53.37 MB / 432.4 MB, free: 7.004 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003853/0.3788, allocations: 1.5 MB / 433.9 MB, free: 5.5 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001145/0.38, allocations: 450.9 kB / 434.4 MB, free: 5.055 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.38, allocations: 3.938 kB / 434.4 MB, free: 5.051 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.3801, allocations: 0 / 434.4 MB, free: 5.051 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.499e-05/0.3802, allocations: 19.91 kB / 434.4 MB, free: 5.031 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.3805, allocations: 19.92 kB / 434.4 MB, free: 5.012 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001256/0.3806, allocations: 43.84 kB / 434.4 MB, free: 4.969 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3807, allocations: 8 kB / 434.4 MB, free: 4.961 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.3808, allocations: 19.86 kB / 434.5 MB, free: 4.941 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.3809, allocations: 15.92 kB / 434.5 MB, free: 4.926 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3809, allocations: 4 kB / 434.5 MB, free: 4.922 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.3809, allocations: 4 kB / 434.5 MB, free: 4.918 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.3809, allocations: 4 kB / 434.5 MB, free: 4.914 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.381, allocations: 19.81 kB / 434.5 MB, free: 4.895 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3811, allocations: 39.53 kB / 434.6 MB, free: 4.859 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.391e-06/0.3811, allocations: 4 kB / 434.6 MB, free: 4.855 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.204e-06/0.3811, allocations: 0 / 434.6 MB, free: 4.855 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.722e-06/0.3811, allocations: 0 / 434.6 MB, free: 4.855 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.0005773/0.3817, allocations: 276.2 kB / 434.8 MB, free: 4.559 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3817, allocations: 8.031 kB / 434.8 MB, free: 4.551 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.3818, allocations: 8.891 kB / 434.8 MB, free: 4.543 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.382, allocations: 122.5 kB / 435 MB, free: 4.398 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3821, allocations: 8.312 kB / 435 MB, free: 4.391 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.3821, allocations: 8.375 kB / 435 MB, free: 4.383 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.3826, allocations: 135.6 kB / 435.1 MB, free: 4.238 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3826, allocations: 0 / 435.1 MB, free: 4.238 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3826, allocations: 0 / 435.1 MB, free: 4.238 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3826, allocations: 4 kB / 435.1 MB, free: 4.234 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3827, allocations: 35.97 kB / 435.2 MB, free: 4.199 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.383, allocations: 128.7 kB / 435.3 MB, free: 4.031 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3832, allocations: 86.45 kB / 435.4 MB, free: 3.938 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3833, allocations: 32.91 kB / 435.4 MB, free: 3.902 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.3834, allocations: 0 / 435.4 MB, free: 3.902 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3834, allocations: 34.5 kB / 435.4 MB, free: 3.859 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3834, allocations: 0 / 435.4 MB, free: 3.859 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0003482/0.3837, allocations: 97.58 kB / 435.5 MB, free: 3.758 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.3838, allocations: 59.39 kB / 435.6 MB, free: 3.688 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3839, allocations: 109.8 kB / 435.7 MB, free: 3.57 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3839, allocations: 29.7 kB / 435.7 MB, free: 3.535 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.384, allocations: 88.11 kB / 435.8 MB, free: 3.445 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.267e-06/0.384, allocations: 3.938 kB / 435.8 MB, free: 3.441 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.384, allocations: 17.72 kB / 435.8 MB, free: 3.418 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001613/0.3842, allocations: 310.8 kB / 436.1 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.3842, allocations: 15.98 kB / 436.1 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.3842, allocations: 23.44 kB / 436.2 MB, free: 3.055 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.3843, allocations: 31.38 kB / 436.2 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3843, allocations: 8 kB / 436.2 MB, free: 3.004 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.732e-05/0.3844, allocations: 57.58 kB / 436.3 MB, free: 2.941 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3844, allocations: 10.91 kB / 436.3 MB, free: 2.934 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3844, allocations: 0 / 436.3 MB, free: 2.934 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3844, allocations: 4 kB / 436.3 MB, free: 2.93 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.3845, allocations: 11.94 kB / 436.3 MB, free: 2.918 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3845, allocations: 0 / 436.3 MB, free: 2.918 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.3845, allocations: 4 kB / 436.3 MB, free: 2.914 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.3845, allocations: 0 / 436.3 MB, free: 2.914 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 9.801e-05/0.3846, allocations: 125.9 kB / 436.4 MB, free: 2.781 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.3848, allocations: 77.59 kB / 436.5 MB, free: 2.699 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.3849, allocations: 8 kB / 436.5 MB, free: 2.684 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3849, allocations: 0 / 436.5 MB, free: 2.684 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3849, allocations: 0 / 436.5 MB, free: 2.684 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3849, allocations: 0 / 436.5 MB, free: 2.684 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.385, allocations: 144.9 kB / 436.6 MB, free: 2.5 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.385, allocations: 0 / 436.6 MB, free: 2.5 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.3851, allocations: 15.98 kB / 436.7 MB, free: 2.484 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3851, allocations: 3.938 kB / 436.7 MB, free: 2.48 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3851, allocations: 0 / 436.7 MB, free: 2.48 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3851, allocations: 0 / 436.7 MB, free: 2.48 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3851, allocations: 0 / 436.7 MB, free: 2.48 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3853, allocations: 105.1 kB / 436.8 MB, free: 2.359 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.3853, allocations: 11.89 kB / 436.8 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3853, allocations: 0 / 436.8 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.3854, allocations: 7.984 kB / 436.8 MB, free: 2.34 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-06/0.3854, allocations: 0 / 436.8 MB, free: 2.34 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.3854, allocations: 4 kB / 436.8 MB, free: 2.336 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.603e-05/0.3854, allocations: 87.27 kB / 436.9 MB, free: 2.25 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3854, allocations: 0 / 436.9 MB, free: 2.25 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001855/0.3856, allocations: 7.938 kB / 436.9 MB, free: 2.242 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.000128/0.3858, allocations: 103.2 kB / 437 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001655/0.3859, allocations: 35.97 kB / 437 MB, free: 2.098 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3859, allocations: 0 / 437 MB, free: 2.098 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3859, allocations: 0 / 437 MB, free: 2.098 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.3862, allocations: 27.92 kB / 437 MB, free: 2.07 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.3866, allocations: 125.6 kB / 437.2 MB, free: 1.922 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.387, allocations: 0.6848 MB / 437.8 MB, free: 1.211 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 1.512e-05/0.387, allocations: 0 / 437.8 MB, free: 1.211 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.387, allocations: 11.44 kB / 437.9 MB, free: 1.199 MB / 334.1 MB
Notification: Performance of SimCode: time 2.8e-07/0.387, allocations: 0 / 437.9 MB, free: 1.199 MB / 334.1 MB
Notification: Performance of Templates: time 0.00302/0.3901, allocations: 445.6 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.023716552183032]