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.001667/0.001667, allocations: 115.6 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.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.002016/0.002016, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8 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.001493/0.001493, allocations: 55.92 kB / 377.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2413, allocations: 53.36 MB / 431.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002854/0.2442, allocations: 1.499 MB / 432.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.2449, allocations: 458.8 kB / 433.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.245, allocations: 3.938 kB / 433.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.245, allocations: 4 kB / 433.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.2451, allocations: 3.938 kB / 433.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.2453, allocations: 23.92 kB / 433.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2454, allocations: 43.84 kB / 433.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.2455, allocations: 7.984 kB / 433.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.2456, allocations: 19.88 kB / 433.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.2456, allocations: 15.92 kB / 433.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2456, allocations: 4 kB / 433.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.2457, allocations: 4 kB / 433.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.2457, allocations: 4 kB / 433.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.2457, allocations: 23.86 kB / 433.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.69e-05/0.2458, allocations: 39.25 kB / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2458, allocations: 0 / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2458, allocations: 0 / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2458, allocations: 0 / 433.3 MB, free: 4.66 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.0004724/0.2463, allocations: 275.2 kB / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2463, allocations: 8.031 kB / 433.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.2464, allocations: 38.75 kB / 433.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.2464, allocations: 4.891 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.2466, allocations: 134.4 kB / 433.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.2466, allocations: 384 / 433.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2467, allocations: 4.375 kB / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.2471, allocations: 135.4 kB / 433.9 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2471, allocations: 0 / 433.9 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2471, allocations: 4 kB / 433.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2471, allocations: 4 kB / 433.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.2473, allocations: 39.94 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.2475, allocations: 132.7 kB / 434.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.2477, allocations: 82.45 kB / 434.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2478, allocations: 28.92 kB / 434.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2479, allocations: 0 / 434.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2479, allocations: 42.48 kB / 434.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.2479, allocations: 0 / 434.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003546/0.2483, allocations: 97.58 kB / 434.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.2483, allocations: 55.41 kB / 434.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.2484, allocations: 117.8 kB / 434.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2484, allocations: 25.7 kB / 434.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.2484, allocations: 84.14 kB / 434.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-06/0.2485, allocations: 0 / 434.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2485, allocations: 17.7 kB / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2486, allocations: 318.8 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.2486, allocations: 4 kB / 434.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.2487, allocations: 27.44 kB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.2487, allocations: 39.36 kB / 435 MB, free: 2.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2487, allocations: 0 / 435 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.508e-05/0.2488, allocations: 61.53 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2488, allocations: 7.984 kB / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2488, allocations: 0 / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2488, allocations: 4 kB / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.932e-05/0.2489, allocations: 7.938 kB / 435.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2489, allocations: 4 kB / 435.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.2489, allocations: 8.062 kB / 435.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.2489, allocations: 0 / 435.1 MB, free: 2.664 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 8.838e-05/0.249, allocations: 113.8 kB / 435.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.2492, allocations: 77.59 kB / 435.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.2492, allocations: 4 kB / 435.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2492, allocations: 0 / 435.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2492, allocations: 11.86 kB / 435.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2493, allocations: 8 kB / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.2494, allocations: 128.7 kB / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2494, allocations: 0 / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/0.2494, allocations: 15.92 kB / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2494, allocations: 0 / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.2494, allocations: 0 / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2494, allocations: 0 / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2494, allocations: 0 / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.2497, allocations: 109.4 kB / 435.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.2497, allocations: 7.938 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.2497, allocations: 7.984 kB / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.2498, allocations: 3.984 kB / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-06/0.2498, allocations: 8 kB / 435.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.2498, allocations: 7.938 kB / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.2498, allocations: 79.28 kB / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2498, allocations: 0 / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.25, allocations: 11.94 kB / 435.6 MB, free: 1.996 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.0005315/0.2506, allocations: 0.6358 MB / 436.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.2507, allocations: 39.97 kB / 436.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2507, allocations: 0 / 436.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2507, allocations: 0 / 436.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.251, allocations: 28.02 kB / 436.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.2522, allocations: 1.179 MB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.2525, allocations: 0.6807 MB / 438.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.65e-05/0.2526, allocations: 0 / 438.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.2526, allocations: 7.438 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2526, allocations: 0 / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.2786, allocations: 1.486 MB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.4, allocations: 11.11 kB / 439.7 MB, free: 13.91 MB / 350.1 MB " [Timeout remaining time 648] (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.85980563299745]