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.001358/0.001358, allocations: 80.94 kB / 20.68 MB, free: 1.047 MB / 14.72 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.001412/0.001412, allocations: 146.3 kB / 23.94 MB, free: 4.195 MB / 14.72 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 1.437/1.437, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.463e-06/1.463e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.249e-05, allocations: 6.219 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002603/0.002636, allocations: 1.47 MB / 320.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.003327, allocations: 388.5 kB / 320.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.003399, allocations: 1.219 kB / 320.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.00343, allocations: 4.875 kB / 320.8 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.003491, allocations: 14.09 kB / 320.8 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.003719, allocations: 19.73 kB / 320.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.00381, allocations: 46.39 kB / 320.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.003919, allocations: 10.17 kB / 320.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.003999, allocations: 22.72 kB / 320.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.004042, allocations: 12.11 kB / 320.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.004076, allocations: 3.406 kB / 320.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.004088, allocations: 3.125 kB / 320.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.004107, allocations: 6.438 kB / 320.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.004143, allocations: 16.62 kB / 320.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.004244, allocations: 30.86 kB / 321 MB, free: 2.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004246, allocations: 1.094 kB / 321 MB, free: 2.188 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004247, allocations: 0 / 321 MB, free: 2.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.004255, allocations: 7.938 kB / 321 MB, free: 2.18 MB / 286.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.0003731/0.004629, allocations: 280.5 kB / 321.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.004664, allocations: 9.922 kB / 321.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.004693, allocations: 7.922 kB / 321.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.004852, allocations: 111.7 kB / 321.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.004863, allocations: 5.625 kB / 321.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.004879, allocations: 7.344 kB / 321.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.005303, allocations: 145.3 kB / 321.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.005314, allocations: 192 / 321.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.005324, allocations: 1.906 kB / 321.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.005329, allocations: 3.938 kB / 321.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.005496, allocations: 39.03 kB / 321.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.722e-05/0.005583, allocations: 113.4 kB / 321.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.005851, allocations: 80.69 kB / 321.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.005954, allocations: 31.14 kB / 321.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.005976, allocations: 4 kB / 321.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.005989, allocations: 36.56 kB / 321.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.00599, allocations: 0 / 321.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003447/0.006335, allocations: 94.97 kB / 321.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.006363, allocations: 57.23 kB / 322 MB, free: 1.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.006418, allocations: 106.5 kB / 322.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.006424, allocations: 29.64 kB / 322.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.943e-05/0.006444, allocations: 86.77 kB / 322.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.006446, allocations: 1.219 kB / 322.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.006463, allocations: 10.72 kB / 322.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.006499, allocations: 313.5 kB / 322.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-06/0.006503, allocations: 0.9375 kB / 322.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.006506, allocations: 4 kB / 322.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.125e-05/0.006517, allocations: 76.31 kB / 322.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.006525, allocations: 75.28 kB / 322.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.694e-05/0.006572, allocations: 34.2 kB / 322.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.006592, allocations: 84.62 kB / 322.8 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.006606, allocations: 85.3 kB / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.006636, allocations: 152 kB / 323 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.19e-05/0.006648, allocations: 77.42 kB / 323.1 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.006668, allocations: 159.7 kB / 323.3 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.006755, allocations: 81.03 kB / 323.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.006788, allocations: 81.19 kB / 323.4 MB, free: 15.9 MB / 302.1 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.000128/0.006916, allocations: 192.1 kB / 323.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.00713, allocations: 80.28 kB / 323.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.007165, allocations: 6.453 kB / 323.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007167, allocations: 5.031 kB / 323.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.007175, allocations: 7.875 kB / 323.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007179, allocations: 1.656 kB / 323.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.00726, allocations: 103.6 kB / 323.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.007263, allocations: 0.6094 kB / 323.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.007374, allocations: 15.83 kB / 323.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.007377, allocations: 0.9688 kB / 323.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.007386, allocations: 1.828 kB / 323.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007388, allocations: 0 / 323.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.007393, allocations: 3.938 kB / 323.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.007646, allocations: 105.6 kB / 323.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.007656, allocations: 6.219 kB / 323.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.00767, allocations: 1.438 kB / 323.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.007724, allocations: 10.88 kB / 323.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-06/0.007727, allocations: 0 / 323.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.007734, allocations: 1 kB / 323.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.677e-05/0.007801, allocations: 90.64 kB / 324 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007801, allocations: 0 / 324 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.008015, allocations: 3.5 kB / 324 MB, free: 15.34 MB / 302.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.0001096/0.008125, allocations: 99.64 kB / 324.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.008261, allocations: 28.55 kB / 324.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008262, allocations: 0 / 324.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.008263, allocations: 4 kB / 324.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.008597, allocations: 33 kB / 324.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.008883, allocations: 114.8 kB / 324.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.693e-05/0.00895, allocations: 65.78 kB / 324.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.237e-06/0.008959, allocations: 0 / 324.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.008987, allocations: 10.69 kB / 324.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.008988, allocations: 0 / 324.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of Templates: time 0.00273/0.01172, allocations: 411.3 kB / 324.8 MB, free: 14.96 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.1732807494699955]