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.001339/0.001339, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001478/0.001478, allocations: 187.5 kB / 23.7 MB, free: 4.188 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.468/1.468, allocations: 225.7 MB / 252.5 MB, free: 12.87 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.001502/0.001502, allocations: 47.92 kB / 370.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2528, allocations: 52.19 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003028/0.2558, allocations: 1.474 MB / 424.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.2566, allocations: 379.1 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.2567, allocations: 0 / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.2567, allocations: 7.922 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.081e-05/0.2568, allocations: 3.938 kB / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.257, allocations: 35.91 kB / 424.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2571, allocations: 35.92 kB / 424.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2573, allocations: 8 kB / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.45e-05/0.2573, allocations: 19.91 kB / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.2574, allocations: 11.92 kB / 424.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.2574, allocations: 4 kB / 424.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.2574, allocations: 4 kB / 424.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.2574, allocations: 7.938 kB / 424.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.2575, allocations: 15.92 kB / 424.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2576, allocations: 41.45 kB / 424.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2576, allocations: 4 kB / 424.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2576, allocations: 0 / 424.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2576, allocations: 0 / 424.6 MB, free: 12.36 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.0004846/0.2581, allocations: 289.3 kB / 424.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2581, allocations: 12.03 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.2582, allocations: 30.75 kB / 424.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.2582, allocations: 4.891 kB / 424.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2584, allocations: 122.5 kB / 425.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2585, allocations: 384 / 425.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.2585, allocations: 8.375 kB / 425.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.2589, allocations: 143.3 kB / 425.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2589, allocations: 0 / 425.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2589, allocations: 0 / 425.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.259, allocations: 0 / 425.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.2591, allocations: 39.95 kB / 425.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.2593, allocations: 128.7 kB / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.2595, allocations: 82.45 kB / 425.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.2596, allocations: 28.92 kB / 425.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.2596, allocations: 3.938 kB / 425.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.2597, allocations: 42.48 kB / 425.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2597, allocations: 4 kB / 425.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003341/0.26, allocations: 89.64 kB / 425.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2601, allocations: 59.34 kB / 425.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.2602, allocations: 109.8 kB / 425.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2602, allocations: 25.7 kB / 425.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.2602, allocations: 84.14 kB / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-06/0.2602, allocations: 0 / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2603, allocations: 17.7 kB / 425.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2604, allocations: 318.8 kB / 426.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.2604, allocations: 7.938 kB / 426.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.2604, allocations: 31.44 kB / 426.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.2605, allocations: 35.36 kB / 426.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2605, allocations: 0 / 426.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.919e-05/0.2606, allocations: 57.58 kB / 426.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2606, allocations: 16.11 kB / 426.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2606, allocations: 0 / 426.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2606, allocations: 0 / 426.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.2607, allocations: 8 kB / 426.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2607, allocations: 0 / 426.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.2607, allocations: 7.891 kB / 426.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.2607, allocations: 4 kB / 426.4 MB, free: 10.37 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.56e-05/0.2608, allocations: 117.8 kB / 426.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.261, allocations: 77.88 kB / 426.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.261, allocations: 8 kB / 426.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.261, allocations: 4.031 kB / 426.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.261, allocations: 3.984 kB / 426.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.261, allocations: 0 / 426.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2611, allocations: 124.8 kB / 426.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2611, allocations: 0 / 426.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.2612, allocations: 15.94 kB / 426.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2612, allocations: 0 / 426.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2612, allocations: 3.984 kB / 426.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2612, allocations: 0 / 426.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2612, allocations: 4 kB / 426.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.2614, allocations: 109 kB / 426.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.2614, allocations: 3.938 kB / 426.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.2615, allocations: 0 / 426.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.2615, allocations: 7.984 kB / 426.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-06/0.2615, allocations: 7.875 kB / 426.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2615, allocations: 4 kB / 426.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.503e-05/0.2616, allocations: 83.28 kB / 427 MB, free: 9.719 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2616, allocations: 0 / 427 MB, free: 9.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001794/0.2617, allocations: 8 kB / 427 MB, free: 9.711 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.0005994/0.2623, allocations: 0.6435 MB / 427.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.2625, allocations: 31.97 kB / 427.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2625, allocations: 0 / 427.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2625, allocations: 0 / 427.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2628, allocations: 44.14 kB / 427.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2639, allocations: 1.162 MB / 428.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.655e-05/0.2639, allocations: 67.2 kB / 428.9 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.354e-05/0.2639, allocations: 0 / 428.9 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.264, allocations: 11.44 kB / 428.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.264, allocations: 4 kB / 428.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.291, allocations: 1.884 MB / 430.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.25, allocations: 2.578 kB / 430.8 MB, free: 5.855 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.797723753377795]