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.001008/0.001008, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002334, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008725/0.0008725, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002167, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.17/1.17, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1374/1.308, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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 5.05e-06/5.05e-06, allocations: 4 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/3.155e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.004339/0.004371, allocations: 1.583 MB / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009213/0.005292, allocations: 455.4 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.00537, allocations: 4 kB / 246.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.00541, allocations: 7.922 kB / 246.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.013e-05/0.00547, allocations: 0 / 246.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.005715, allocations: 27.91 kB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.005863, allocations: 35.86 kB / 246.8 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.005983, allocations: 8 kB / 246.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.006128, allocations: 31.89 kB / 246.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.006202, allocations: 4 kB / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.006246, allocations: 4 kB / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.006265, allocations: 4 kB / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.006308, allocations: 11.94 kB / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.006351, allocations: 8 kB / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.006531, allocations: 31.78 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.76e-05/0.006549, allocations: 0 / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.006551, allocations: 0 / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.006568, allocations: 4 kB / 246.9 MB, free: 11.98 MB / 250.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.0005558/0.007124, allocations: 248.6 kB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.007181, allocations: 12.03 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.007236, allocations: 4.922 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.007523, allocations: 129.7 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.00754, allocations: 4.375 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.007556, allocations: 384 / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.007861, allocations: 104.5 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.007873, allocations: 192 / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.007883, allocations: 384 / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.007896, allocations: 7.938 kB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.489e-05/0.007931, allocations: 7.984 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.008044, allocations: 61.03 kB / 247.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.008139, allocations: 34.56 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.008176, allocations: 16.84 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.0082, allocations: 0 / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.008238, allocations: 34.5 kB / 247.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.008239, allocations: 7.938 kB / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001994/0.008438, allocations: 41.69 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.008509, allocations: 55.41 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.008608, allocations: 114.7 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.008624, allocations: 25.7 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.008657, allocations: 88.14 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.008659, allocations: 0 / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.008683, allocations: 9.719 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.008815, allocations: 326.8 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-06/0.008822, allocations: 4 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.008831, allocations: 3.938 kB / 248.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.487e-05/0.008865, allocations: 75.28 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.024e-05/0.008896, allocations: 75.28 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.601e-05/0.008972, allocations: 29.7 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.009018, allocations: 83.28 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.691e-05/0.009055, allocations: 79.28 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.733e-05/0.009133, allocations: 158.5 kB / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.726e-05/0.00917, allocations: 79.28 kB / 248.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.969e-05/0.00924, allocations: 162.5 kB / 249 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.00933, allocations: 79.22 kB / 249 MB, free: 9.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.009361, allocations: 75.28 kB / 249.1 MB, free: 9.621 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 0.0001156/0.009477, allocations: 185.1 kB / 249.3 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.009565, allocations: 41.62 kB / 249.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.009609, allocations: 8 kB / 249.3 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.009612, allocations: 4 kB / 249.4 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.009614, allocations: 0 / 249.4 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.009619, allocations: 4 kB / 249.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.458e-05/0.009703, allocations: 69.83 kB / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.009709, allocations: 0 / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.009845, allocations: 8 kB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.009866, allocations: 11.94 kB / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.009871, allocations: 0 / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.009878, allocations: 0 / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.009882, allocations: 0 / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.009884, allocations: 0 / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.933e-05/0.009963, allocations: 61 kB / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.009979, allocations: 7.938 kB / 249.5 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.954e-05/0.01001, allocations: 11.98 kB / 249.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-06/0.01001, allocations: 0 / 249.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.01002, allocations: 240 / 249.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.158e-05/0.01005, allocations: 12.86 kB / 249.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01005, allocations: 0 / 249.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.01024, allocations: 0 / 249.5 MB, free: 9.148 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 0.0001715/0.01042, allocations: 80.41 kB / 249.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.0105, allocations: 11.98 kB / 249.6 MB, free: 9.047 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.0105, allocations: 0 / 249.6 MB, free: 9.047 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.0105, allocations: 4 kB / 249.6 MB, free: 9.043 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.01081, allocations: 61.47 kB / 249.7 MB, free: 8.977 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.0114, allocations: 119.3 kB / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.53e-05/0.01146, allocations: 59.34 kB / 249.9 MB, free: 8.758 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.904e-05/0.01148, allocations: 0 / 249.9 MB, free: 8.758 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.01155, allocations: 55.36 kB / 249.9 MB, free: 8.703 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01155, allocations: 0 / 249.9 MB, free: 8.703 MB / 250.7 MB Notification: Performance of Templates: time 0.003124/0.01467, allocations: 453.7 kB / 250.4 MB, free: 8.27 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.059601050801575]