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.001403/0.001403, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3129, allocations: 50.55 MB / 408.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003772/0.3167, allocations: 1.487 MB / 410.3 MB, free: 68 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3178, allocations: 435 kB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.3179, allocations: 0 / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.318, allocations: 11.86 kB / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.3181, allocations: 11.92 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.3183, allocations: 27.91 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.3185, allocations: 31.92 kB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3186, allocations: 15.97 kB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.3187, allocations: 19.94 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.3187, allocations: 15.92 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.3188, allocations: 7.938 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.3188, allocations: 0 / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.3188, allocations: 4 kB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.3189, allocations: 23.86 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.319, allocations: 35.88 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.319, allocations: 0 / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.319, allocations: 4 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3191, allocations: 0 / 410.9 MB, free: 15.43 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.000587/0.3197, allocations: 346.3 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3197, allocations: 12.03 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.3198, allocations: 34.75 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.3198, allocations: 8.891 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.3201, allocations: 176.3 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3201, allocations: 4.312 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3201, allocations: 12.38 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.3206, allocations: 135.3 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3206, allocations: 0 / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3206, allocations: 7.984 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3206, allocations: 4 kB / 411.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3208, allocations: 35.97 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.3209, allocations: 157.7 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.3212, allocations: 82.45 kB / 411.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.3213, allocations: 40.84 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3213, allocations: 0 / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3213, allocations: 34.5 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3213, allocations: 0 / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003316/0.3217, allocations: 93.64 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.3218, allocations: 59.41 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.3218, allocations: 109.8 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3219, allocations: 29.7 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.3219, allocations: 84.12 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.3219, allocations: 4 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.322, allocations: 13.72 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3221, allocations: 314.8 kB / 412.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.3221, allocations: 4 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.3221, allocations: 31.42 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.167e-05/0.3222, allocations: 31.38 kB / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3222, allocations: 4 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.005e-05/0.3223, allocations: 65.52 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3224, allocations: 8 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3224, allocations: 288 / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3224, allocations: 0 / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.3224, allocations: 8 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3225, allocations: 3.938 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.3225, allocations: 11.94 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.3225, allocations: 0 / 412.8 MB, free: 13.24 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.604e-05/0.3226, allocations: 118 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.3228, allocations: 85.53 kB / 413 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.3228, allocations: 7.906 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3228, allocations: 0 / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3228, allocations: 0 / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3228, allocations: 0 / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.323, allocations: 157.7 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.323, allocations: 0 / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-05/0.3231, allocations: 23.92 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3231, allocations: 7.875 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.3231, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3231, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3231, allocations: 3.938 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.3233, allocations: 101.1 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.3234, allocations: 85 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3234, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.3234, allocations: 7.984 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.3235, allocations: 0 / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3235, allocations: 0 / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.931e-05/0.3236, allocations: 91.27 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3236, allocations: 0 / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000325/0.3239, allocations: 4 kB / 413.5 MB, free: 12.45 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.000707/0.3246, allocations: 0.6358 MB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3248, allocations: 35.91 kB / 414.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3249, allocations: 0 / 414.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.3249, allocations: 0 / 414.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3253, allocations: 44.23 kB / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.3267, allocations: 1.158 MB / 415.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3271, allocations: 0.6846 MB / 416 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.313e-05/0.3271, allocations: 0 / 416 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.3272, allocations: 15.42 kB / 416.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of SimCode: time 2.605e-06/0.3272, allocations: 0 / 416.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.3489, allocations: 1.375 MB / 417.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.826, allocations: 7.875 kB / 417.4 MB, free: 8.453 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