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.00179/0.00179, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002212/0.002212, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.46/1.46, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001436/0.001436, allocations: 56.05 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.1008, allocations: 53.31 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002962/0.1038, allocations: 1.494 MB / 427.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.1046, allocations: 450.9 kB / 428.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.1047, allocations: 0 / 428.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.1047, allocations: 7.922 kB / 428.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.1048, allocations: 3.938 kB / 428.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1051, allocations: 31.89 kB / 428.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.1051, allocations: 35.92 kB / 428.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1053, allocations: 7.984 kB / 428.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.1053, allocations: 19.92 kB / 428.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.1054, allocations: 15.92 kB / 428.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1054, allocations: 8 kB / 428.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.1054, allocations: 4 kB / 428.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.1054, allocations: 3.938 kB / 428.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.1055, allocations: 19.92 kB / 428.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1056, allocations: 35.77 kB / 428.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1056, allocations: 15.86 kB / 428.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1056, allocations: 0 / 428.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1056, allocations: 0 / 428.5 MB, free: 2.641 MB / 350.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.0005161/0.1061, allocations: 347.4 kB / 428.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1061, allocations: 12.03 kB / 428.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.1062, allocations: 34.75 kB / 428.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.1062, allocations: 8.891 kB / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1065, allocations: 172.3 kB / 429 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1065, allocations: 4.375 kB / 429 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1065, allocations: 4.375 kB / 429 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.1069, allocations: 143.3 kB / 429.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.107, allocations: 0 / 429.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.107, allocations: 4 kB / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.107, allocations: 0 / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1071, allocations: 39.95 kB / 429.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1073, allocations: 161.7 kB / 429.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1076, allocations: 78.52 kB / 429.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1077, allocations: 28.91 kB / 429.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1077, allocations: 7.938 kB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1077, allocations: 38.5 kB / 429.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1077, allocations: 0 / 429.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000354/0.1081, allocations: 93.64 kB / 429.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.1082, allocations: 51.41 kB / 429.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.1082, allocations: 106.1 kB / 429.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1083, allocations: 29.7 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.1083, allocations: 84.14 kB / 429.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.1083, allocations: 7.984 kB / 429.9 MB, free: 1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1083, allocations: 13.72 kB / 429.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1085, allocations: 314.8 kB / 430.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.1085, allocations: 7.938 kB / 430.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.1085, allocations: 27.42 kB / 430.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.1086, allocations: 39.38 kB / 430.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1086, allocations: 0 / 430.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.525e-05/0.1087, allocations: 61.52 kB / 430.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1087, allocations: 10.34 kB / 430.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1087, allocations: 128 / 430.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1087, allocations: 7.938 kB / 430.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.1087, allocations: 8 kB / 430.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1087, allocations: 4.062 kB / 430.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.1088, allocations: 3.938 kB / 430.4 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1088, allocations: 4 kB / 430.4 MB, free: 476 kB / 350.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.508e-05/0.1089, allocations: 113.8 kB / 430.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.1091, allocations: 89.75 kB / 430.6 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.1091, allocations: 19.89 kB / 430.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1091, allocations: 0 / 430.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1091, allocations: 0 / 430.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1091, allocations: 0 / 430.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1092, allocations: 157.7 kB / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1092, allocations: 0 / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.1093, allocations: 12.19 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1093, allocations: 3.938 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1093, allocations: 4 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1093, allocations: 0 / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1093, allocations: 4 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1096, allocations: 101 kB / 430.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.1096, allocations: 89 kB / 431 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.1096, allocations: 0 / 431 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.1097, allocations: 11.98 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-06/0.1097, allocations: 0 / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1097, allocations: 4 kB / 431 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.115e-05/0.1098, allocations: 87.27 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1098, allocations: 0 / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.1099, allocations: 8 kB / 431.1 MB, free: 15.65 MB / 366.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.0005295/0.1105, allocations: 0.6397 MB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1106, allocations: 31.97 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1106, allocations: 0 / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1106, allocations: 0 / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1109, allocations: 42.19 kB / 431.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.112, allocations: 1.174 MB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.1123, allocations: 0.6807 MB / 433.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.701e-05/0.1123, allocations: 0 / 433.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1123, allocations: 11.44 kB / 433.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1123, allocations: 4 kB / 433.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.1349, allocations: 1.363 MB / 435 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.896, allocations: 3.938 kB / 435 MB, free: 11.66 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.662980149005307]