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.001732/0.001732, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002271/0.002271, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.778/1.778, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.002326/0.002326, allocations: 75.81 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.403, allocations: 53.3 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.004047/0.4071, allocations: 1.516 MB / 433.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.4081, allocations: 446.9 kB / 434 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.4083, allocations: 4 kB / 434 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.534e-05/0.4083, allocations: 7.875 kB / 434 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.4084, allocations: 11.91 kB / 434 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.4088, allocations: 19.98 kB / 434 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.409, allocations: 39.86 kB / 434.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.4091, allocations: 11.98 kB / 434.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.4092, allocations: 19.92 kB / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.4093, allocations: 15.92 kB / 434.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.4093, allocations: 0 / 434.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.4093, allocations: 4 kB / 434.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.4094, allocations: 4 kB / 434.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.4094, allocations: 19.86 kB / 434.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.4096, allocations: 33.86 kB / 434.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.4096, allocations: 4 kB / 434.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4096, allocations: 4 kB / 434.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4097, allocations: 0 / 434.2 MB, free: 5.254 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.0007072/0.4104, allocations: 347.4 kB / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.4104, allocations: 8.031 kB / 434.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.4105, allocations: 8.891 kB / 434.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.411, allocations: 184.2 kB / 434.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.411, allocations: 4.375 kB / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.411, allocations: 384 / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.4116, allocations: 143.6 kB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4116, allocations: 0 / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.4116, allocations: 0 / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4116, allocations: 3.938 kB / 434.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.4118, allocations: 43.89 kB / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.4121, allocations: 161.7 kB / 435.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.4124, allocations: 74.52 kB / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.4125, allocations: 40.91 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.4126, allocations: 3.938 kB / 435.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.4126, allocations: 38.48 kB / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.4126, allocations: 0 / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004483/0.4131, allocations: 97.58 kB / 435.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.4131, allocations: 55.41 kB / 435.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4133, allocations: 105.8 kB / 435.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.4133, allocations: 25.7 kB / 435.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.4134, allocations: 88.14 kB / 435.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.4134, allocations: 0 / 435.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.4135, allocations: 17.72 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.4137, allocations: 314.8 kB / 435.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.4137, allocations: 4 kB / 435.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.4137, allocations: 31.44 kB / 436 MB, free: 3.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.724e-05/0.4138, allocations: 35.36 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4138, allocations: 0 / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001104/0.4139, allocations: 61.53 kB / 436.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.4139, allocations: 11.94 kB / 436.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4139, allocations: 3.984 kB / 436.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.414, allocations: 0 / 436.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.4141, allocations: 8 kB / 436.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4141, allocations: 0 / 436.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.4141, allocations: 4 kB / 436.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.4141, allocations: 4 kB / 436.1 MB, free: 3.113 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.0001351/0.4142, allocations: 118 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.4145, allocations: 81.48 kB / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.4145, allocations: 7.906 kB / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4145, allocations: 0 / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4145, allocations: 0 / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.4145, allocations: 3.984 kB / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.4147, allocations: 161.6 kB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4147, allocations: 0 / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.4148, allocations: 11.98 kB / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.4148, allocations: 11.94 kB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4148, allocations: 0 / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4148, allocations: 0 / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4148, allocations: 0 / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.4151, allocations: 105 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.4151, allocations: 92.94 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.4152, allocations: 4 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.4152, allocations: 11.98 kB / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-06/0.4152, allocations: 0 / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4152, allocations: 0 / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.674e-05/0.4153, allocations: 91.27 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4153, allocations: 0 / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.4155, allocations: 4 kB / 436.8 MB, free: 2.316 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.0001678/0.4157, allocations: 99.23 kB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.4159, allocations: 36.3 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4159, allocations: 0 / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.4159, allocations: 0 / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.4163, allocations: 32.66 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.4167, allocations: 133.5 kB / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.4172, allocations: 0.6848 MB / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.947e-05/0.4172, allocations: 4 kB / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.4172, allocations: 7.438 kB / 437.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4172, allocations: 0 / 437.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of Templates: time 0.003438/0.4207, allocations: 432.2 kB / 438.2 MB, free: 0.8438 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.214441978838295]