Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.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.001761/0.001761, allocations: 116.9 kB / 18.45 MB, free: 4.699 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.002075/0.002075, allocations: 212.3 kB / 21.42 MB, free: 1.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 207.6 MB / 231.8 MB, free: 4.062 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 56.55 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1079, allocations: 49.13 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003004/0.1109, allocations: 1.671 MB / 393.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.112, allocations: 0.5306 MB / 393.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.822e-05/0.1121, allocations: 3.938 kB / 393.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.1122, allocations: 11.86 kB / 393.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.19e-05/0.1123, allocations: 35.73 kB / 393.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.1125, allocations: 39.94 kB / 393.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1127, allocations: 123.6 kB / 393.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1128, allocations: 13.11 kB / 393.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.1129, allocations: 51.77 kB / 393.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.113, allocations: 47.72 kB / 393.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.113, allocations: 8 kB / 393.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.113, allocations: 8 kB / 394 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.1131, allocations: 15.92 kB / 394 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.1131, allocations: 51.67 kB / 394 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1133, allocations: 103.4 kB / 394.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1133, allocations: 0 / 394.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1133, allocations: 3.938 kB / 394.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1133, allocations: 0 / 394.1 MB, free: 5.977 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007269/0.1141, allocations: 426.9 kB / 394.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1141, allocations: 8.031 kB / 394.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.1142, allocations: 42.73 kB / 394.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1142, allocations: 16.89 kB / 394.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.1146, allocations: 220.6 kB / 394.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1146, allocations: 8.375 kB / 394.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.1146, allocations: 15.94 kB / 394.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.115, allocations: 128.1 kB / 395 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.115, allocations: 11.94 kB / 395 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.115, allocations: 4 kB / 395 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.115, allocations: 0 / 395 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.1152, allocations: 67.94 kB / 395.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.116, allocations: 0.5477 MB / 395.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.1164, allocations: 126.4 kB / 395.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.1166, allocations: 60.81 kB / 395.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1166, allocations: 4 kB / 395.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1166, allocations: 30.56 kB / 395.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1166, allocations: 0 / 395.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001263/0.1179, allocations: 0.5136 MB / 396.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.1179, allocations: 51.41 kB / 396.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1181, allocations: 162.9 kB / 396.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1181, allocations: 29.7 kB / 396.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.1182, allocations: 116 kB / 396.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.1182, allocations: 39.64 kB / 396.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.1183, allocations: 37.67 kB / 396.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1185, allocations: 322.8 kB / 397.1 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.1186, allocations: 51.95 kB / 397.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1188, allocations: 87.23 kB / 397.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.1191, allocations: 143.3 kB / 397.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1191, allocations: 0 / 397.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004156/0.1196, allocations: 173.5 kB / 397.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.1196, allocations: 7.938 kB / 397.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1196, allocations: 0 / 397.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1196, allocations: 4 kB / 397.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.1198, allocations: 47.94 kB / 397.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1198, allocations: 0 / 397.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.314e-05/0.1199, allocations: 15.98 kB / 397.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1199, allocations: 4 kB / 397.6 MB, free: 2.184 MB / 318.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: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001289/0.12, allocations: 125.8 kB / 397.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.1201, allocations: 15.84 kB / 397.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.1201, allocations: 20.7 kB / 397.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1201, allocations: 4 kB / 397.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1201, allocations: 4 kB / 397.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.1201, allocations: 0 / 397.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/0.121, allocations: 0.4921 MB / 398.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.121, allocations: 0 / 398.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1212, allocations: 35.91 kB / 398.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.1212, allocations: 4 kB / 398.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1212, allocations: 0 / 398.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1212, allocations: 3.984 kB / 398.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.1212, allocations: 4 kB / 398.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.1218, allocations: 321 kB / 398.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.1219, allocations: 93.05 kB / 398.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1219, allocations: 4 kB / 398.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.122, allocations: 15.98 kB / 398.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.1221, allocations: 11.98 kB / 398.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1221, allocations: 4 kB / 398.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1222, allocations: 111.2 kB / 398.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1222, allocations: 0 / 398.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1225, allocations: 23.94 kB / 398.9 MB, free: 0.793 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * 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 (12): * Single equations (assignments): 12 * 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.0009744/0.1234, allocations: 0.8435 MB / 399.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.1238, allocations: 135.7 kB / 399.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1238, allocations: 0 / 399.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.124, allocations: 67.89 kB / 399.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.1245, allocations: 44.2 kB / 400 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.1275, allocations: 1.94 MB / 401.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.1279, allocations: 0.7084 MB / 402.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.835e-05/0.128, allocations: 13.42 kB / 402.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.1281, allocations: 43.42 kB / 402.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of SimCode: time 1.844e-06/0.1281, allocations: 0 / 402.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.1592, allocations: 3.374 MB / 406 MB, free: 9.406 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.007, allocations: 0 / 406 MB, free: 9.406 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable limit_a.y in file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_a.y from file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! Error: Could not read variable limit_v.y in file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_v.y from file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.631118518009316]