Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007287/0.0007287, allocations: 76.48 kB / 9.93 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009152/0.001644, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006233/0.0006233, allocations: 144.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008139/0.001437, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.885/0.885, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1163/1.001, allocations: 52.49 MB / 238.3 MB, free: 4.445 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 3.938 kB / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.769e-06/1.118e-05, allocations: 2.312 kB / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.00167/0.001681, allocations: 1.567 MB / 241.1 MB, free: 1.605 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.002141, allocations: 416.4 kB / 241.5 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.002189, allocations: 3.938 kB / 241.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.002206, allocations: 0 / 241.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.868e-05/0.002235, allocations: 3.938 kB / 241.5 MB, free: 1.188 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.002346, allocations: 27.89 kB / 241.6 MB, free: 1.16 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.002421, allocations: 39.86 kB / 241.6 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.06e-05/0.002491, allocations: 11.98 kB / 241.6 MB, free: 1.109 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.002564, allocations: 23.91 kB / 241.6 MB, free: 1.086 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.002604, allocations: 15.92 kB / 241.7 MB, free: 1.07 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.002625, allocations: 4 kB / 241.7 MB, free: 1.066 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-06/0.002633, allocations: 8 kB / 241.7 MB, free: 1.059 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.00265, allocations: 4 kB / 241.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.002675, allocations: 8 kB / 241.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.862e-05/0.002754, allocations: 23.86 kB / 241.7 MB, free: 1.023 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.002767, allocations: 0 / 241.7 MB, free: 1.023 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002767, allocations: 4 kB / 241.7 MB, free: 1.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.002782, allocations: 0 / 241.7 MB, free: 1.02 MB / 234.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.0003243/0.003106, allocations: 252.5 kB / 242 MB, free: 0.75 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.003135, allocations: 12.03 kB / 242 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.00316, allocations: 0.9375 kB / 242 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.003565, allocations: 133.7 kB / 242.1 MB, free: 0.582 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.003572, allocations: 384 / 242.1 MB, free: 0.582 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.003582, allocations: 8.375 kB / 242.1 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.003753, allocations: 96.56 kB / 242.2 MB, free: 476 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003761, allocations: 192 / 242.2 MB, free: 476 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.003766, allocations: 384 / 242.2 MB, free: 476 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.003772, allocations: 11.88 kB / 242.2 MB, free: 464 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.541e-05/0.003798, allocations: 11.92 kB / 242.2 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.973e-05/0.003857, allocations: 60.98 kB / 242.3 MB, free: 376 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.003911, allocations: 34.55 kB / 242.3 MB, free: 332 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.003935, allocations: 16.86 kB / 242.3 MB, free: 312 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.003951, allocations: 0 / 242.3 MB, free: 312 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.00397, allocations: 34.56 kB / 242.4 MB, free: 268 kB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.00397, allocations: 0 / 242.4 MB, free: 268 kB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 9.519e-05/0.004066, allocations: 45.62 kB / 242.4 MB, free: 216 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.004101, allocations: 55.39 kB / 242.5 MB, free: 148 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.465e-05/0.004146, allocations: 106.7 kB / 242.6 MB, free: 28 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.004166, allocations: 29.7 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.004184, allocations: 92.12 kB / 242.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.004185, allocations: 0 / 242.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.004198, allocations: 9.719 kB / 242.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.00426, allocations: 322.8 kB / 243 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-06/0.004263, allocations: 0 / 243 MB, free: 15.56 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-06/0.004266, allocations: 4 kB / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.684e-05/0.004283, allocations: 75.28 kB / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.004297, allocations: 75.28 kB / 243.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.895e-05/0.004326, allocations: 33.64 kB / 243.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.004349, allocations: 83.27 kB / 243.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.004365, allocations: 83.28 kB / 243.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.004398, allocations: 154.5 kB / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.839e-05/0.004416, allocations: 79.28 kB / 243.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/0.004445, allocations: 154.6 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.004484, allocations: 83.16 kB / 243.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.004499, allocations: 79.28 kB / 243.9 MB, free: 14.66 MB / 250.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 5.419e-05/0.004553, allocations: 185.1 kB / 244.1 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.004589, allocations: 41.81 kB / 244.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.004614, allocations: 20.02 kB / 244.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004615, allocations: 0 / 244.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.004617, allocations: 4 kB / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.004619, allocations: 0 / 244.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.96e-05/0.004658, allocations: 65.84 kB / 244.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.00466, allocations: 0 / 244.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.004727, allocations: 19.92 kB / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.004734, allocations: 7.953 kB / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.004735, allocations: 0 / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-06/0.004739, allocations: 0 / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.00474, allocations: 0 / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.004741, allocations: 0 / 244.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.427e-05/0.004775, allocations: 61.05 kB / 244.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.004783, allocations: 4 kB / 244.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.004797, allocations: 8 kB / 244.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.0048, allocations: 3.938 kB / 244.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.004803, allocations: 0 / 244.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.318e-05/0.004817, allocations: 16.84 kB / 244.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004817, allocations: 0 / 244.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001074/0.004924, allocations: 0 / 244.3 MB, free: 14.17 MB / 250.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 5.998e-05/0.004984, allocations: 76.42 kB / 244.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.641e-05/0.00502, allocations: 8 kB / 244.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.005023, allocations: 0 / 244.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.8e-07/0.005023, allocations: 4 kB / 244.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.005149, allocations: 25.08 kB / 244.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.00543, allocations: 123.2 kB / 244.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.638e-05/0.005456, allocations: 59.34 kB / 244.6 MB, free: 13.83 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.404e-06/0.005464, allocations: 0 / 244.6 MB, free: 13.83 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.005495, allocations: 51.38 kB / 244.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.005495, allocations: 0 / 244.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of Templates: time 0.001581/0.007076, allocations: 456 kB / 245.1 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.393756673671305]