Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 107.1 kB / 20.44 MB, free: 1.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 207.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 43.92 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2861, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002701/0.2888, allocations: 1.495 MB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.2895, allocations: 411 kB / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.2896, allocations: 0 / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.2896, allocations: 7.922 kB / 433 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.2897, allocations: 7.938 kB / 433 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.2899, allocations: 27.91 kB / 433 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.29, allocations: 39.86 kB / 433.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.2901, allocations: 8 kB / 433.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/0.2901, allocations: 15.92 kB / 433.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.2902, allocations: 15.92 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.2902, allocations: 4 kB / 433.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.2902, allocations: 4 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.2902, allocations: 7.938 kB / 433.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.2903, allocations: 19.91 kB / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.876e-05/0.2904, allocations: 33.53 kB / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2904, allocations: 4 kB / 433.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2904, allocations: 0 / 433.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.557e-06/0.2904, allocations: 4 kB / 433.2 MB, free: 4.523 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.0004342/0.2908, allocations: 270.3 kB / 433.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2908, allocations: 12.03 kB / 433.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.2909, allocations: 34.75 kB / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.2909, allocations: 4.891 kB / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2911, allocations: 122.5 kB / 433.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.2911, allocations: 384 / 433.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.2911, allocations: 12.31 kB / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.2916, allocations: 151.3 kB / 433.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2916, allocations: 3.938 kB / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.2916, allocations: 0 / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2916, allocations: 0 / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.2917, allocations: 39.95 kB / 433.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.2919, allocations: 124.8 kB / 433.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.2921, allocations: 82.45 kB / 434 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.2922, allocations: 28.92 kB / 434 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2922, allocations: 0 / 434 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.2923, allocations: 38.48 kB / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2923, allocations: 4 kB / 434.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003249/0.2926, allocations: 93.64 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.2927, allocations: 59.34 kB / 434.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.2927, allocations: 109.8 kB / 434.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2928, allocations: 25.7 kB / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.2928, allocations: 80.14 kB / 434.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-06/0.2928, allocations: 4 kB / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.2928, allocations: 13.72 kB / 434.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.293, allocations: 326.8 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.293, allocations: 0 / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.756e-05/0.293, allocations: 23.44 kB / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.293, allocations: 39.36 kB / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.293, allocations: 0 / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.112e-05/0.2931, allocations: 57.66 kB / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2931, allocations: 12 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2931, allocations: 4.297 kB / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2932, allocations: 0 / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.2932, allocations: 11.94 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2932, allocations: 0 / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.2932, allocations: 7.938 kB / 434.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2932, allocations: 7.984 kB / 434.9 MB, free: 2.535 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.371e-05/0.2933, allocations: 109.8 kB / 435.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.2935, allocations: 81.55 kB / 435.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.2935, allocations: 12 kB / 435.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2935, allocations: 0 / 435.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2935, allocations: 0 / 435.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2936, allocations: 12.25 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.212e-05/0.2936, allocations: 124.8 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2936, allocations: 0 / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.2937, allocations: 19.88 kB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2937, allocations: 0 / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2937, allocations: 3.984 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2937, allocations: 3.984 kB / 435.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2937, allocations: 7.938 kB / 435.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.294, allocations: 101.1 kB / 435.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.294, allocations: 7.891 kB / 435.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.294, allocations: 0 / 435.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.294, allocations: 7.984 kB / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-06/0.294, allocations: 0 / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2941, allocations: 4 kB / 435.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.811e-05/0.2941, allocations: 83.28 kB / 435.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2941, allocations: 4 kB / 435.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.2943, allocations: 4 kB / 435.5 MB, free: 1.875 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.0005051/0.2948, allocations: 0.6397 MB / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.2949, allocations: 35.91 kB / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2949, allocations: 0 / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.2949, allocations: 0 / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2953, allocations: 36.22 kB / 436.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.2963, allocations: 1.17 MB / 437.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.869e-05/0.2963, allocations: 67.28 kB / 437.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.326e-05/0.2964, allocations: 0 / 437.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.2964, allocations: 19.38 kB / 437.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2964, allocations: 0 / 437.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.3226, allocations: 1.906 MB / 439.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.81, allocations: 13.78 kB / 439.4 MB, free: 13.98 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.245485289982753]