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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2862, allocations: 50.53 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002371/0.2886, allocations: 1.491 MB / 410.3 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007131/0.2894, allocations: 446.9 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.2894, allocations: 0 / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.2895, allocations: 3.938 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.2895, allocations: 3.938 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.2898, allocations: 31.89 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.2898, allocations: 35.86 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.2899, allocations: 8 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.29, allocations: 11.98 kB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.912e-05/0.2901, allocations: 27.84 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2901, allocations: 7.938 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.2901, allocations: 4 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2901, allocations: 4 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.2902, allocations: 11.94 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.658e-05/0.2902, allocations: 35.83 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2903, allocations: 0 / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2903, allocations: 4 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.2903, allocations: 0 / 410.9 MB, free: 15.42 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.0004422/0.2907, allocations: 358.3 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2908, allocations: 8.031 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.2908, allocations: 34.75 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.2908, allocations: 4.891 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.2911, allocations: 188.3 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.2911, allocations: 384 / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.2911, allocations: 4.375 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.2915, allocations: 143.3 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2915, allocations: 3.984 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2916, allocations: 0 / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2916, allocations: 0 / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.2917, allocations: 35.95 kB / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.2919, allocations: 165.7 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.2922, allocations: 78.45 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2923, allocations: 32.92 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2923, allocations: 7.984 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2923, allocations: 38.5 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.2923, allocations: 0 / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003487/0.2927, allocations: 93.64 kB / 412 MB, free: 14.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.2927, allocations: 51.41 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.2928, allocations: 109.8 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2928, allocations: 25.7 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.2929, allocations: 92.14 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.2929, allocations: 0 / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.2929, allocations: 25.64 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.293, allocations: 314.8 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.2931, allocations: 0 / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.2931, allocations: 31.42 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.2931, allocations: 39.38 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2931, allocations: 0 / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.741e-05/0.2932, allocations: 57.53 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2933, allocations: 11.98 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2933, allocations: 128 / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2933, allocations: 4 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.2933, allocations: 8 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2933, allocations: 3.938 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.2934, allocations: 3.938 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.2934, allocations: 4 kB / 412.8 MB, free: 13.22 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 7.809e-05/0.2935, allocations: 117.8 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.2937, allocations: 77.55 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.2937, allocations: 15.91 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2937, allocations: 3.984 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2937, allocations: 0 / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2937, allocations: 0 / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.513e-05/0.2938, allocations: 157.7 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2938, allocations: 3.984 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.2939, allocations: 12.27 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2939, allocations: 3.938 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.294, allocations: 4 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.294, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.294, allocations: 7.984 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.2942, allocations: 97.08 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.2943, allocations: 89 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.2943, allocations: 4 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.2943, allocations: 7.984 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-06/0.2943, allocations: 0 / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2943, allocations: 4 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.646e-05/0.2944, allocations: 83.28 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2944, allocations: 4 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.2946, allocations: 4 kB / 413.5 MB, free: 12.42 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.0004779/0.2951, allocations: 0.6435 MB / 414.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.2953, allocations: 35.91 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2953, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2953, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2956, allocations: 39.94 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/0.2965, allocations: 1.158 MB / 415.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.2968, allocations: 0.6807 MB / 416.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.718e-05/0.2968, allocations: 4 kB / 416.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.2968, allocations: 11.44 kB / 416.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of SimCode: time 1.643e-06/0.2968, allocations: 4 kB / 416.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.3146, allocations: 1.372 MB / 417.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.876, allocations: 15.94 kB / 417.5 MB, free: 8.422 MB / 334.1 MB (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.0004 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches