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.001669/0.001669, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002011/0.002011, allocations: 197.2 kB / 18.73 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.582/1.582, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.268, allocations: 50.53 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003876/0.272, allocations: 1.483 MB / 410.3 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.273, allocations: 446.9 kB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-05/0.2731, allocations: 4 kB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.2732, allocations: 3.938 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.2733, allocations: 3.938 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.2735, allocations: 19.97 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2737, allocations: 43.78 kB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2738, allocations: 12 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.2739, allocations: 15.97 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.274, allocations: 19.88 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.274, allocations: 4 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.274, allocations: 4 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.2741, allocations: 7.984 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.2741, allocations: 11.94 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.2743, allocations: 35.83 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.2744, allocations: 0 / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.2744, allocations: 0 / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2744, allocations: 0 / 410.9 MB, free: 15.4 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.0008361/0.2752, allocations: 358.3 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.976e-05/0.2753, allocations: 12.02 kB / 411.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.303e-05/0.2754, allocations: 34.75 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.2755, allocations: 8.891 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.2759, allocations: 176.3 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2759, allocations: 8.375 kB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.2759, allocations: 384 / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.2766, allocations: 143.4 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2766, allocations: 0 / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2766, allocations: 4 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2767, allocations: 3.984 kB / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.2769, allocations: 43.89 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.2772, allocations: 157.7 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.2775, allocations: 82.5 kB / 411.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.2776, allocations: 28.92 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.2777, allocations: 7.938 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.2777, allocations: 38.5 kB / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.2777, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004306/0.2782, allocations: 97.56 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/0.2783, allocations: 55.41 kB / 412.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2784, allocations: 109.8 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.2785, allocations: 29.7 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.2786, allocations: 84.14 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.2786, allocations: 0 / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.2786, allocations: 17.66 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.2788, allocations: 318.8 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.2789, allocations: 4 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.2789, allocations: 27.44 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.279, allocations: 35.38 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.279, allocations: 0 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001088/0.2791, allocations: 69.45 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2791, allocations: 10.94 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2792, allocations: 0 / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.2792, allocations: 4 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.2793, allocations: 7.984 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2793, allocations: 4 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.2793, allocations: 3.938 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.2793, allocations: 0 / 412.8 MB, free: 13.2 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 0.0001193/0.2795, allocations: 113.8 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.2797, allocations: 89.48 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.2797, allocations: 3.906 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2797, allocations: 0 / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2797, allocations: 0 / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2798, allocations: 0 / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2799, allocations: 161.7 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2799, allocations: 0 / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.28, allocations: 15.92 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.28, allocations: 0 / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.28, allocations: 0 / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.28, allocations: 4 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.28, allocations: 0 / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.2803, allocations: 113.3 kB / 413.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.2804, allocations: 85 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2804, allocations: 0 / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.2805, allocations: 7.984 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-06/0.2805, allocations: 4 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.2805, allocations: 8 kB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.525e-05/0.2805, allocations: 87.22 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2805, allocations: 0 / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002059/0.2808, allocations: 4 kB / 413.5 MB, free: 12.4 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.0006015/0.2814, allocations: 0.6436 MB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.2815, allocations: 35.91 kB / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2816, allocations: 0 / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.2816, allocations: 4 kB / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.2819, allocations: 23.98 kB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2831, allocations: 1.17 MB / 415.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.2835, allocations: 0.6885 MB / 416.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.13e-05/0.2835, allocations: 0 / 416.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.2836, allocations: 15.44 kB / 416.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2836, allocations: 0 / 416.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.3051, allocations: 1.361 MB / 417.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.19, allocations: 14.53 kB / 417.5 MB, free: 8.406 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.1.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