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.001034/0.001034, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.00249, allocations: 445.8 kB / 10.44 MB, free: 256 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.0006728/0.0006728, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001724, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8573/0.8573, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1495/1.007, allocations: 52.48 MB / 238.5 MB, free: 7.621 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.413e-06/1.413e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.557e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001901/0.001916, allocations: 1.567 MB / 241.3 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.002348, allocations: 413 kB / 241.7 MB, free: 4.379 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.002392, allocations: 0 / 241.7 MB, free: 4.379 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.002412, allocations: 4.594 kB / 241.7 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.214e-05/0.002444, allocations: 3.938 kB / 241.7 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.002565, allocations: 34.42 kB / 241.8 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.975e-05/0.002645, allocations: 31.88 kB / 241.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.002714, allocations: 11.98 kB / 241.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.002788, allocations: 27.91 kB / 241.8 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.002826, allocations: 11.98 kB / 241.9 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.002845, allocations: 0 / 241.9 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.002854, allocations: 5.469 kB / 241.9 MB, free: 4.254 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.002875, allocations: 7.938 kB / 241.9 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.002896, allocations: 8 kB / 241.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.181e-05/0.002978, allocations: 31.84 kB / 241.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.002986, allocations: 0.8125 kB / 241.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.002987, allocations: 0 / 241.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.002997, allocations: 0 / 241.9 MB, free: 4.207 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.000313/0.00331, allocations: 253.6 kB / 242.2 MB, free: 3.938 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.003338, allocations: 12.03 kB / 242.2 MB, free: 3.926 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.003367, allocations: 12 kB / 242.2 MB, free: 3.918 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.003493, allocations: 121.7 kB / 242.3 MB, free: 3.773 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.003502, allocations: 4.375 kB / 242.3 MB, free: 3.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.003514, allocations: 8.359 kB / 242.3 MB, free: 3.762 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.003679, allocations: 101.8 kB / 242.4 MB, free: 3.648 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.003686, allocations: 192 / 242.4 MB, free: 3.648 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-06/0.003692, allocations: 384 / 242.4 MB, free: 3.648 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.003699, allocations: 3.938 kB / 242.4 MB, free: 3.645 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.003717, allocations: 9 kB / 242.4 MB, free: 3.637 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.132e-05/0.003778, allocations: 64.98 kB / 242.5 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.003832, allocations: 38.55 kB / 242.5 MB, free: 3.512 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.00385, allocations: 11.86 kB / 242.5 MB, free: 3.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.003863, allocations: 0 / 242.5 MB, free: 3.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.003882, allocations: 38.55 kB / 242.6 MB, free: 3.453 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 4.91e-07/0.003883, allocations: 0 / 242.6 MB, free: 3.453 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 8.9e-05/0.003972, allocations: 45.62 kB / 242.6 MB, free: 3.402 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.004004, allocations: 59.41 kB / 242.7 MB, free: 3.332 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.705e-05/0.004051, allocations: 110.7 kB / 242.8 MB, free: 3.211 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.004059, allocations: 26.67 kB / 242.8 MB, free: 3.18 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.884e-05/0.004078, allocations: 80.14 kB / 242.9 MB, free: 3.098 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.004079, allocations: 0 / 242.9 MB, free: 3.098 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.004094, allocations: 18.56 kB / 242.9 MB, free: 3.074 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.004162, allocations: 318.8 kB / 243.2 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.775e-06/0.004164, allocations: 1.781 kB / 243.2 MB, free: 2.754 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-06/0.004167, allocations: 0 / 243.2 MB, free: 2.754 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.802e-05/0.004185, allocations: 75.28 kB / 243.3 MB, free: 2.68 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.004203, allocations: 79.28 kB / 243.4 MB, free: 2.602 MB / 234.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.142e-05/0.004234, allocations: 33.62 kB / 243.4 MB, free: 2.562 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.004259, allocations: 83.94 kB / 243.5 MB, free: 2.48 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.004281, allocations: 79.34 kB / 243.6 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.386e-05/0.004325, allocations: 159.2 kB / 243.7 MB, free: 2.246 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.72e-05/0.004342, allocations: 79.28 kB / 243.8 MB, free: 2.168 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.189e-05/0.004374, allocations: 156.5 kB / 243.9 MB, free: 2.016 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.004413, allocations: 83.16 kB / 244 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.00443, allocations: 83.27 kB / 244.1 MB, free: 1.852 MB / 234.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 6.153e-05/0.004492, allocations: 181.1 kB / 244.3 MB, free: 1.664 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.004536, allocations: 43.09 kB / 244.3 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.004561, allocations: 12 kB / 244.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.004563, allocations: 0 / 244.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.004564, allocations: 0 / 244.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004567, allocations: 0.8594 kB / 244.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.537e-05/0.004612, allocations: 69.83 kB / 244.4 MB, free: 1.512 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.004614, allocations: 0.5938 kB / 244.4 MB, free: 1.512 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.004682, allocations: 8.531 kB / 244.4 MB, free: 1.504 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.004691, allocations: 11.94 kB / 244.4 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.004694, allocations: 1.688 kB / 244.4 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.004697, allocations: 0 / 244.4 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.004698, allocations: 0 / 244.4 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.0047, allocations: 3.984 kB / 244.4 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.503e-05/0.004735, allocations: 61.5 kB / 244.5 MB, free: 1.41 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.004743, allocations: 8 kB / 244.5 MB, free: 1.402 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.226e-05/0.004755, allocations: 0.8125 kB / 244.5 MB, free: 1.402 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-06/0.004758, allocations: 0 / 244.5 MB, free: 1.402 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.004763, allocations: 5.656 kB / 244.5 MB, free: 1.398 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.221e-05/0.004775, allocations: 12.84 kB / 244.5 MB, free: 1.383 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004775, allocations: 0 / 244.5 MB, free: 1.383 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001023/0.004877, allocations: 4 kB / 244.5 MB, free: 1.379 MB / 234.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 6.898e-05/0.004946, allocations: 84.36 kB / 244.6 MB, free: 1.289 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.026e-05/0.004987, allocations: 7.984 kB / 244.6 MB, free: 1.281 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.004989, allocations: 0 / 244.6 MB, free: 1.281 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.00499, allocations: 0 / 244.6 MB, free: 1.281 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.00514, allocations: 54.8 kB / 244.7 MB, free: 1.219 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.005453, allocations: 131.2 kB / 244.8 MB, free: 1.062 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.00548, allocations: 59.34 kB / 244.9 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.115e-06/0.005488, allocations: 0 / 244.9 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.005528, allocations: 55.38 kB / 244.9 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005528, allocations: 0 / 244.9 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of Templates: time 0.001762/0.00729, allocations: 440.1 kB / 245.3 MB, free: 0.5078 MB / 234.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.2578710978850722]