Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009711/0.0009711, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001125/0.001125, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9161/0.9161, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.464e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002162/0.002187, allocations: 1.497 MB / 326 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008919/0.003079, allocations: 418.9 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.003152, allocations: 0 / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.003182, allocations: 3.938 kB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.003244, allocations: 7.922 kB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.003498, allocations: 31.86 kB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003601, allocations: 43.89 kB / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.003708, allocations: 8 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.003781, allocations: 23.92 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.921e-05/0.00382, allocations: 7.984 kB / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.003847, allocations: 0 / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.003855, allocations: 4 kB / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.003878, allocations: 11.94 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.003908, allocations: 11.98 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.953e-05/0.004007, allocations: 35.88 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.004011, allocations: 0 / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.004013, allocations: 4 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.004018, allocations: 0 / 326.6 MB, free: 13.77 MB / 298.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.0003859/0.004404, allocations: 278.2 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.004444, allocations: 11.98 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.004474, allocations: 30.75 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.004499, allocations: 12.88 kB / 326.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.004706, allocations: 117.7 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.004715, allocations: 4.375 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.004725, allocations: 4.359 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.005036, allocations: 147.8 kB / 327.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005043, allocations: 192 / 327.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.005052, allocations: 4.125 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.005057, allocations: 7.922 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.246e-05/0.00515, allocations: 35.97 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.005254, allocations: 128.8 kB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.005418, allocations: 74.52 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.005479, allocations: 32.91 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.005497, allocations: 0 / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.005519, allocations: 38.56 kB / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.00552, allocations: 4 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.005753, allocations: 93.52 kB / 327.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.005797, allocations: 63.39 kB / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.005859, allocations: 101.9 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.005869, allocations: 25.7 kB / 327.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.005898, allocations: 84.12 kB / 327.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.005901, allocations: 0 / 327.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.005923, allocations: 25.66 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.006008, allocations: 310.8 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.006012, allocations: 4 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-06/0.006016, allocations: 0 / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.123e-05/0.006037, allocations: 79.28 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.006056, allocations: 79.22 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.094e-05/0.006097, allocations: 33.84 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.006128, allocations: 83.28 kB / 328.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.006149, allocations: 79.27 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.202e-05/0.006201, allocations: 162.4 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-05/0.00622, allocations: 83.38 kB / 328.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.786e-05/0.006258, allocations: 158.5 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.006301, allocations: 79.28 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.006319, allocations: 79.28 kB / 329.1 MB, free: 11.06 MB / 298.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 7.656e-05/0.006395, allocations: 185.1 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.006516, allocations: 77.59 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.006543, allocations: 7.984 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.006548, allocations: 7.938 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.006553, allocations: 0 / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.006556, allocations: 0 / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.378e-05/0.006619, allocations: 124.8 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.006623, allocations: 4 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/0.006712, allocations: 11.98 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.006715, allocations: 0 / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.006724, allocations: 4 kB / 329.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.006728, allocations: 7.875 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006729, allocations: 0 / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.006863, allocations: 105 kB / 329.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.006872, allocations: 4 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.006884, allocations: 4 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.478e-05/0.006908, allocations: 11.92 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-06/0.006912, allocations: 0 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.006917, allocations: 0 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.301e-05/0.00695, allocations: 91.27 kB / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00695, allocations: 0 / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000143/0.007093, allocations: 4 kB / 329.8 MB, free: 10.34 MB / 298.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.0003366/0.00743, allocations: 0.6353 MB / 330.4 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.007517, allocations: 27.91 kB / 330.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.00752, allocations: 4 kB / 330.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.007521, allocations: 0 / 330.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.007791, allocations: 35.94 kB / 330.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.008618, allocations: 1.371 MB / 331.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.64e-05/0.008664, allocations: 63.34 kB / 331.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.962e-05/0.008684, allocations: 4 kB / 331.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.008728, allocations: 20.48 kB / 331.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.008729, allocations: 0 / 331.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.02631, allocations: 1.965 MB / 333.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.697, allocations: 10.81 kB / 333.9 MB, free: 6.18 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.52481768745929]