Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 112 kB / 17.06 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 195.9 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002797/0.2656, allocations: 1.475 MB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007058/0.2663, allocations: 409.1 kB / 402.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.2664, allocations: 4 kB / 402.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.2664, allocations: 3.938 kB / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.059e-05/0.2665, allocations: 11.92 kB / 402.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.2667, allocations: 35.84 kB / 402.2 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.2668, allocations: 35.86 kB / 402.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.267, allocations: 8 kB / 402.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.267, allocations: 11.98 kB / 402.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.2671, allocations: 15.92 kB / 402.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2671, allocations: 4 kB / 402.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.2671, allocations: 0 / 402.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.2671, allocations: 11.94 kB / 402.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.2672, allocations: 23.92 kB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.884e-05/0.2673, allocations: 35.77 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2673, allocations: 0 / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2673, allocations: 0 / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.2673, allocations: 0 / 402.3 MB, free: 6.727 MB / 318.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.0004863/0.2678, allocations: 358.3 kB / 402.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2678, allocations: 12.03 kB / 402.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.2679, allocations: 30.75 kB / 402.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.2679, allocations: 8.938 kB / 402.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.2681, allocations: 180.3 kB / 402.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.2682, allocations: 384 / 402.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.2682, allocations: 4.375 kB / 402.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.2686, allocations: 147.3 kB / 403 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2687, allocations: 4 kB / 403 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.2687, allocations: 0 / 403 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2687, allocations: 0 / 403 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.2689, allocations: 35.95 kB / 403.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.269, allocations: 165.6 kB / 403.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.2693, allocations: 82.52 kB / 403.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2695, allocations: 28.92 kB / 403.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2695, allocations: 11.91 kB / 403.4 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2695, allocations: 34.5 kB / 403.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2695, allocations: 0 / 403.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003635/0.2699, allocations: 97.64 kB / 403.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.27, allocations: 51.41 kB / 403.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.732e-05/0.2701, allocations: 113.8 kB / 403.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2701, allocations: 29.7 kB / 403.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.2702, allocations: 80.14 kB / 403.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.2702, allocations: 0 / 403.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.2702, allocations: 21.7 kB / 403.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2704, allocations: 314.8 kB / 404.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.2704, allocations: 11.94 kB / 404.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.2704, allocations: 27.42 kB / 404.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.2705, allocations: 35.38 kB / 404.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2705, allocations: 7.938 kB / 404.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.99e-05/0.2706, allocations: 61.5 kB / 404.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2706, allocations: 4 kB / 404.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2706, allocations: 0 / 404.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2706, allocations: 4 kB / 404.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/0.2707, allocations: 4 kB / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2707, allocations: 0 / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.2707, allocations: 16.02 kB / 404.3 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.2708, allocations: 0 / 404.3 MB, free: 4.527 MB / 318.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.828e-05/0.2708, allocations: 117.8 kB / 404.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.2711, allocations: 77.59 kB / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.2711, allocations: 11.89 kB / 404.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2711, allocations: 0 / 404.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2711, allocations: 0 / 404.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2711, allocations: 0 / 404.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2713, allocations: 161.7 kB / 404.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2713, allocations: 4 kB / 404.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.2714, allocations: 11.94 kB / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2714, allocations: 0 / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2714, allocations: 0 / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2714, allocations: 3.984 kB / 404.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.2714, allocations: 4 kB / 404.6 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.2716, allocations: 113 kB / 404.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.2717, allocations: 81.05 kB / 404.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2717, allocations: 0 / 404.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.874e-05/0.2718, allocations: 7.984 kB / 404.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-06/0.2718, allocations: 0 / 404.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2718, allocations: 0 / 404.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.2719, allocations: 87.28 kB / 404.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2719, allocations: 0 / 404.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000181/0.272, allocations: 4 kB / 404.9 MB, free: 3.746 MB / 318.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.0005855/0.2726, allocations: 0.6517 MB / 405.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.2728, allocations: 32.16 kB / 405.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2728, allocations: 4.062 kB / 405.6 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.2728, allocations: 0 / 405.6 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2731, allocations: 46.67 kB / 405.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2742, allocations: 1.17 MB / 406.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2746, allocations: 0.6844 MB / 407.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.328e-05/0.2746, allocations: 0 / 407.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.2746, allocations: 15.44 kB / 407.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2746, allocations: 0 / 407.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.2964, allocations: 1.357 MB / 408.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.03, allocations: 6.844 kB / 408.9 MB, free: 15.75 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches