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.008025/0.008025, allocations: 107 kB / 21.98 MB, free: 5.223 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.001689/0.001689, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.497/1.497, allocations: 230.6 MB / 259 MB, free: 8.02 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.002095/0.002095, allocations: 68.77 kB / 379.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3935, allocations: 53.36 MB / 433.2 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003628/0.3971, allocations: 1.501 MB / 434.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009291/0.398, allocations: 454.9 kB / 435.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.3981, allocations: 4 kB / 435.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.001e-05/0.3982, allocations: 7.922 kB / 435.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.3982, allocations: 7.922 kB / 435.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.3985, allocations: 27.86 kB / 435.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3986, allocations: 31.92 kB / 435.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3987, allocations: 11.98 kB / 435.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.3988, allocations: 27.86 kB / 435.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.3988, allocations: 15.92 kB / 435.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.3989, allocations: 4 kB / 435.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.3989, allocations: 0 / 435.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.3989, allocations: 4 kB / 435.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.3989, allocations: 23.86 kB / 435.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.399, allocations: 33.44 kB / 435.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.399, allocations: 0 / 435.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.399, allocations: 0 / 435.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.399, allocations: 0 / 435.3 MB, free: 4.77 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.000547/0.3996, allocations: 277.9 kB / 435.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3996, allocations: 12.03 kB / 435.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.3997, allocations: 4.891 kB / 435.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.3999, allocations: 122.5 kB / 435.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-06/0.4, allocations: 384 / 435.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.4, allocations: 4.375 kB / 435.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.4004, allocations: 147.5 kB / 435.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4004, allocations: 0 / 435.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.4005, allocations: 3.938 kB / 435.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4005, allocations: 4 kB / 435.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.4006, allocations: 35.97 kB / 435.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.4008, allocations: 132.7 kB / 436.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.401, allocations: 74.45 kB / 436.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.4011, allocations: 40.91 kB / 436.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4012, allocations: 4 kB / 436.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4012, allocations: 38.5 kB / 436.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4012, allocations: 3.938 kB / 436.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003432/0.4015, allocations: 89.64 kB / 436.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.4016, allocations: 59.39 kB / 436.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4017, allocations: 105.8 kB / 436.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4017, allocations: 29.7 kB / 436.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.4018, allocations: 88.12 kB / 436.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.782e-06/0.4018, allocations: 0 / 436.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.4018, allocations: 17.72 kB / 436.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.402, allocations: 314.8 kB / 436.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.402, allocations: 3.984 kB / 436.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.402, allocations: 31.44 kB / 436.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.4021, allocations: 35.38 kB / 437 MB, free: 2.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4021, allocations: 0 / 437 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.417e-05/0.4022, allocations: 57.58 kB / 437 MB, free: 2.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4022, allocations: 12.06 kB / 437 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4022, allocations: 4 kB / 437 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4022, allocations: 0 / 437 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.4023, allocations: 4 kB / 437 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4023, allocations: 7.938 kB / 437 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.4023, allocations: 288 / 437 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.4023, allocations: 7.984 kB / 437.1 MB, free: 2.824 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 8.612e-05/0.4024, allocations: 113.8 kB / 437.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.4026, allocations: 85.58 kB / 437.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.4026, allocations: 8 kB / 437.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4026, allocations: 4 kB / 437.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4026, allocations: 0 / 437.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4026, allocations: 0 / 437.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.4027, allocations: 136.6 kB / 437.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4027, allocations: 0 / 437.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.4028, allocations: 11.98 kB / 437.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4028, allocations: 7.875 kB / 437.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4028, allocations: 0 / 437.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4028, allocations: 8 kB / 437.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4028, allocations: 0 / 437.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.403, allocations: 101 kB / 437.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.4031, allocations: 11.89 kB / 437.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.4031, allocations: 7.922 kB / 437.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.4031, allocations: 4 kB / 437.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-06/0.4031, allocations: 4 kB / 437.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4031, allocations: 0 / 437.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.843e-05/0.4032, allocations: 91.25 kB / 437.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4032, allocations: 4 kB / 437.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000184/0.4034, allocations: 4 kB / 437.6 MB, free: 2.148 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.0001142/0.4035, allocations: 91.25 kB / 437.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.4037, allocations: 39.97 kB / 437.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4037, allocations: 0 / 437.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.4037, allocations: 0 / 437.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.404, allocations: 35.95 kB / 437.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.4043, allocations: 147.3 kB / 438 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4046, allocations: 0.6807 MB / 438.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.4047, allocations: 11.44 kB / 438.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4047, allocations: 4.188 kB / 438.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of Templates: time 0.002342/0.407, allocations: 0.6112 MB / 439.3 MB, free: 484 kB / 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.257847173139453]