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.00153/0.00153, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001273/0.001273, allocations: 157.4 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.92/0.92, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.683e-06/1.683e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.263e-05, allocations: 2.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.00218/0.002202, allocations: 1.469 MB / 319.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000703/0.002905, allocations: 391.1 kB / 320.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.002975, allocations: 0 / 320.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.003006, allocations: 3.938 kB / 320.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.003087, allocations: 7.938 kB / 320.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.00334, allocations: 35.84 kB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.003434, allocations: 39.86 kB / 320.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003536, allocations: 7.984 kB / 320.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.003611, allocations: 23.92 kB / 320.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.003651, allocations: 15.97 kB / 320.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.003677, allocations: 4 kB / 320.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-06/0.003685, allocations: 0 / 320.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.003703, allocations: 7.938 kB / 320.4 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.003735, allocations: 8 kB / 320.4 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.787e-05/0.003833, allocations: 39.81 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003835, allocations: 4 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.003836, allocations: 0 / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.003842, allocations: 0 / 320.5 MB, free: 4.297 MB / 282.7 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.0003854/0.004227, allocations: 278.3 kB / 320.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.004274, allocations: 8.922 kB / 320.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.00431, allocations: 38.75 kB / 320.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.004334, allocations: 8.891 kB / 320.8 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.004535, allocations: 121.7 kB / 320.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.004544, allocations: 384 / 320.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.004555, allocations: 12.38 kB / 320.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.004876, allocations: 131.8 kB / 321.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004885, allocations: 192 / 321.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.004896, allocations: 4.125 kB / 321.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.0049, allocations: 0 / 321.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.559e-05/0.004995, allocations: 43.95 kB / 321.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.005115, allocations: 128.8 kB / 321.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.005271, allocations: 78.44 kB / 321.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.005329, allocations: 32.92 kB / 321.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.005348, allocations: 0 / 321.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.00537, allocations: 38.55 kB / 321.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005371, allocations: 4 kB / 321.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002461/0.005617, allocations: 97.52 kB / 321.5 MB, free: 3.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.005664, allocations: 55.41 kB / 321.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.005726, allocations: 109.8 kB / 321.7 MB, free: 2.965 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.005737, allocations: 25.7 kB / 321.7 MB, free: 2.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.005769, allocations: 88.14 kB / 321.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.005771, allocations: 0 / 321.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.005788, allocations: 9.719 kB / 321.8 MB, free: 2.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.005877, allocations: 322.8 kB / 322.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/0.005882, allocations: 0 / 322.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-06/0.005886, allocations: 4 kB / 322.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.005909, allocations: 75.28 kB / 322.2 MB, free: 2.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/0.005928, allocations: 79.22 kB / 322.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.29e-05/0.005971, allocations: 41.64 kB / 322.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.006002, allocations: 79.28 kB / 322.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.006024, allocations: 75.28 kB / 322.4 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.431e-05/0.006068, allocations: 158.5 kB / 322.6 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.86e-05/0.006087, allocations: 79.22 kB / 322.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.836e-05/0.006125, allocations: 154.7 kB / 322.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.006171, allocations: 91.23 kB / 322.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.006189, allocations: 75.28 kB / 323 MB, free: 1.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.393e-05/0.006273, allocations: 185.1 kB / 323.2 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.006395, allocations: 77.61 kB / 323.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.006435, allocations: 12 kB / 323.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.006439, allocations: 3.938 kB / 323.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.006444, allocations: 0 / 323.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006448, allocations: 0 / 323.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.642e-05/0.006514, allocations: 124.8 kB / 323.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.006518, allocations: 3.938 kB / 323.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.006595, allocations: 11.98 kB / 323.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.006601, allocations: 4 kB / 323.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.006608, allocations: 4 kB / 323.4 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.006614, allocations: 7.938 kB / 323.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.006615, allocations: 0 / 323.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.00675, allocations: 105 kB / 323.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.006757, allocations: 0 / 323.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.006769, allocations: 4 kB / 323.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.00679, allocations: 11.92 kB / 323.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-06/0.006793, allocations: 0 / 323.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.0068, allocations: 4.281 kB / 323.5 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.006835, allocations: 83.28 kB / 323.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006835, allocations: 0 / 323.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.006978, allocations: 4 kB / 323.6 MB, free: 0.8789 MB / 282.7 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.0003358/0.007314, allocations: 0.6436 MB / 324.3 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.921e-05/0.007403, allocations: 31.91 kB / 324.3 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007405, allocations: 0 / 324.3 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.007406, allocations: 0 / 324.3 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.007674, allocations: 31.86 kB / 324.3 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.008507, allocations: 1.379 MB / 325.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.008554, allocations: 67.34 kB / 325.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.008574, allocations: 4 kB / 325.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.008614, allocations: 12.5 kB / 325.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.008615, allocations: 3.938 kB / 325.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.02587, allocations: 1.959 MB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/6.861, allocations: 0 / 327.7 MB, free: 12.75 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/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: 8.737050656229258]