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.001302/0.001302, allocations: 119 kB / 17.78 MB, free: 5.23 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.0013/0.0013, allocations: 197.2 kB / 20.73 MB, free: 2.289 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.474/1.474, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.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.001547/0.001547, allocations: 51.92 kB / 365.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1059, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002814/0.1087, allocations: 1.488 MB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007817/0.1095, allocations: 411 kB / 419.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.1095, allocations: 0 / 419.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.1096, allocations: 3.938 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.1096, allocations: 7.922 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1099, allocations: 31.92 kB / 419.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.11, allocations: 31.92 kB / 419.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1101, allocations: 15.97 kB / 419.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.1102, allocations: 19.86 kB / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.1102, allocations: 11.94 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1102, allocations: 4 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.1102, allocations: 4 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.1103, allocations: 7.984 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.1103, allocations: 15.88 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1104, allocations: 39.81 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1104, allocations: 0 / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1104, allocations: 4 kB / 419.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1104, allocations: 0 / 419.9 MB, free: 10.49 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.0005525/0.111, allocations: 355.3 kB / 420.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.111, allocations: 8.031 kB / 420.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.1111, allocations: 34.73 kB / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.1111, allocations: 4.938 kB / 420.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1114, allocations: 180.3 kB / 420.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1114, allocations: 8.375 kB / 420.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.1114, allocations: 384 / 420.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.1119, allocations: 143.3 kB / 420.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1119, allocations: 7.875 kB / 420.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1119, allocations: 0 / 420.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1119, allocations: 4 kB / 420.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1121, allocations: 35.95 kB / 420.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.1123, allocations: 157.6 kB / 420.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.1126, allocations: 86.44 kB / 420.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1127, allocations: 36.92 kB / 420.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1128, allocations: 0 / 420.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1128, allocations: 34.5 kB / 420.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1128, allocations: 0 / 420.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003843/0.1132, allocations: 101.6 kB / 421 MB, free: 9.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1132, allocations: 59.34 kB / 421.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.1133, allocations: 105.8 kB / 421.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1133, allocations: 25.7 kB / 421.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.1134, allocations: 88.14 kB / 421.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.1134, allocations: 0 / 421.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1134, allocations: 13.72 kB / 421.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1136, allocations: 318.8 kB / 421.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.1136, allocations: 8 kB / 421.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.1136, allocations: 27.44 kB / 421.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.1137, allocations: 31.38 kB / 421.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1137, allocations: 0 / 421.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.458e-05/0.1138, allocations: 61.56 kB / 421.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1138, allocations: 10.5 kB / 421.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1138, allocations: 0 / 421.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1138, allocations: 0 / 421.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.1139, allocations: 15.92 kB / 421.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1139, allocations: 0 / 421.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.1139, allocations: 11.89 kB / 421.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.1139, allocations: 0 / 421.8 MB, free: 8.301 MB / 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.842e-05/0.114, allocations: 118 kB / 421.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.1142, allocations: 73.59 kB / 422 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.1143, allocations: 7.906 kB / 422 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1143, allocations: 0 / 422 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1143, allocations: 0 / 422 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1143, allocations: 0 / 422 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1144, allocations: 161.6 kB / 422.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1144, allocations: 0 / 422.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.1145, allocations: 23.86 kB / 422.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1145, allocations: 4 kB / 422.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1145, allocations: 4 kB / 422.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1145, allocations: 0 / 422.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1145, allocations: 3.938 kB / 422.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1147, allocations: 101 kB / 422.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.1148, allocations: 89.05 kB / 422.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1148, allocations: 4 kB / 422.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.1149, allocations: 11.98 kB / 422.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.1149, allocations: 0 / 422.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.1149, allocations: 0 / 422.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.1149, allocations: 87.27 kB / 422.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1149, allocations: 0 / 422.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001884/0.1151, allocations: 8 kB / 422.5 MB, free: 7.508 MB / 350.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.0005947/0.1157, allocations: 0.6435 MB / 423.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1159, allocations: 40.33 kB / 423.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1159, allocations: 0 / 423.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.1159, allocations: 256 / 423.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1162, allocations: 36 kB / 423.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1174, allocations: 1.176 MB / 424.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1178, allocations: 0.6922 MB / 425.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.588e-05/0.1178, allocations: 0 / 425.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.1178, allocations: 15.38 kB / 425.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1178, allocations: 3.938 kB / 425.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.1418, allocations: 1.366 MB / 426.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.229, allocations: 6.172 kB / 426.5 MB, free: 3.496 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.752311890944839]