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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 184.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 43.92 kB / 370.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.277, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002928/0.2799, allocations: 1.494 MB / 424.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.2806, allocations: 407.1 kB / 424.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.2807, allocations: 7.938 kB / 424.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.2807, allocations: 4 kB / 424.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.2808, allocations: 7.875 kB / 424.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.2811, allocations: 27.97 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2812, allocations: 39.84 kB / 424.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2813, allocations: 11.94 kB / 424.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.2814, allocations: 11.98 kB / 424.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.2815, allocations: 15.94 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2815, allocations: 0 / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.2815, allocations: 4 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.2815, allocations: 19.91 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.2816, allocations: 11.94 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.2817, allocations: 39.2 kB / 424.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.2817, allocations: 4 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2817, allocations: 0 / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2817, allocations: 0 / 424.7 MB, free: 12.46 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.0005587/0.2823, allocations: 275.2 kB / 425 MB, free: 12.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.2823, allocations: 12.03 kB / 425 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.2824, allocations: 34.73 kB / 425 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.2824, allocations: 4.938 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.2826, allocations: 126.4 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2827, allocations: 384 / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.2827, allocations: 4.375 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.2831, allocations: 147.3 kB / 425.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2832, allocations: 0 / 425.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2832, allocations: 4 kB / 425.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2832, allocations: 0 / 425.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.2833, allocations: 35.91 kB / 425.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.2835, allocations: 132.7 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.2838, allocations: 78.52 kB / 425.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2839, allocations: 32.91 kB / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.2839, allocations: 0 / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.284, allocations: 38.5 kB / 425.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.284, allocations: 0 / 425.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003574/0.2843, allocations: 101.7 kB / 425.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.2844, allocations: 59.39 kB / 425.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.2845, allocations: 105.8 kB / 425.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2845, allocations: 25.7 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.2846, allocations: 88.12 kB / 426 MB, free: 11.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.2846, allocations: 4 kB / 426 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2846, allocations: 17.72 kB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2848, allocations: 314.8 kB / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.2848, allocations: 0 / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.039e-05/0.2848, allocations: 35.41 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.325e-05/0.2849, allocations: 39.38 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2849, allocations: 3.938 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.948e-05/0.285, allocations: 61.5 kB / 426.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.285, allocations: 4 kB / 426.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.285, allocations: 4 kB / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.285, allocations: 0 / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.2851, allocations: 12 kB / 426.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2851, allocations: 4.125 kB / 426.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.2851, allocations: 7.891 kB / 426.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.2851, allocations: 4 kB / 426.5 MB, free: 10.46 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.0001034/0.2852, allocations: 113.8 kB / 426.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.2854, allocations: 81.53 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.2855, allocations: 4 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2855, allocations: 4 kB / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2855, allocations: 4 kB / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2855, allocations: 0 / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.2856, allocations: 132.7 kB / 426.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2856, allocations: 0 / 426.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.2857, allocations: 15.92 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2857, allocations: 0 / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.2857, allocations: 4 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2857, allocations: 3.938 kB / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2857, allocations: 0 / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2859, allocations: 101 kB / 427 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.2859, allocations: 7.938 kB / 427 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.286, allocations: 4 kB / 427 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.591e-05/0.286, allocations: 11.92 kB / 427 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-06/0.286, allocations: 0 / 427 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.286, allocations: 0 / 427 MB, free: 9.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.002e-05/0.2861, allocations: 91.27 kB / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2861, allocations: 4 kB / 427.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.2863, allocations: 4 kB / 427.1 MB, free: 9.805 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.0005805/0.2869, allocations: 0.6319 MB / 427.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.287, allocations: 39.91 kB / 427.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.287, allocations: 0 / 427.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.287, allocations: 0 / 427.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2874, allocations: 31.95 kB / 427.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2886, allocations: 1.178 MB / 429 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.2889, allocations: 0.6844 MB / 429.7 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.88e-05/0.289, allocations: 0 / 429.7 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.289, allocations: 19.47 kB / 429.7 MB, free: 7.066 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.289, allocations: 0 / 429.7 MB, free: 7.066 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.318, allocations: 1.474 MB / 431.1 MB, free: 5.727 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.27, allocations: 2.234 kB / 431.1 MB, free: 5.727 MB / 334.1 MB " [Timeout remaining time 649] (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.000199561 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.864340771997377]