Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.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.001665/0.001665, allocations: 124.8 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.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.001851/0.001851, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.36/1.36, allocations: 225.6 MB / 249.1 MB, free: 3.609 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.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 55.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09208/0.09354, allocations: 52.16 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002854/0.09639, allocations: 1.676 MB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.09723, allocations: 490.7 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.0973, allocations: 7.938 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.09741, allocations: 7.875 kB / 419.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.736e-05/0.0975, allocations: 35.72 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.09765, allocations: 51.92 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.09782, allocations: 115.6 kB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.09792, allocations: 25.05 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.09798, allocations: 43.8 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.09807, allocations: 47.7 kB / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.09809, allocations: 8 kB / 420.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.09811, allocations: 8 kB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.09813, allocations: 19.92 kB / 420.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.09818, allocations: 51.67 kB / 420.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.09833, allocations: 91.45 kB / 420.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.09833, allocations: 0 / 420.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09834, allocations: 0 / 420.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.09834, allocations: 4 kB / 420.4 MB, free: 9.949 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005777/0.09892, allocations: 438.8 kB / 420.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.09896, allocations: 12.02 kB / 420.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.099, allocations: 38.75 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.09903, allocations: 12.84 kB / 420.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.09931, allocations: 220.2 kB / 421.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.09933, allocations: 12 kB / 421.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.09935, allocations: 7.984 kB / 421.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.09964, allocations: 134.2 kB / 421.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.09965, allocations: 0 / 421.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.09966, allocations: 0 / 421.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.09967, allocations: 11.88 kB / 421.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.09986, allocations: 67.95 kB / 421.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.1006, allocations: 0.5438 MB / 421.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.1009, allocations: 134.4 kB / 422.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.101, allocations: 52.81 kB / 422.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.1011, allocations: 3.938 kB / 422.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1011, allocations: 42.5 kB / 422.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1011, allocations: 4 kB / 422.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001066/0.1022, allocations: 0.5081 MB / 422.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1022, allocations: 51.41 kB / 422.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1023, allocations: 151.3 kB / 422.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1024, allocations: 25.7 kB / 422.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.1024, allocations: 112 kB / 423 MB, free: 7.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.1025, allocations: 51.62 kB / 423 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.1025, allocations: 33.7 kB / 423.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1027, allocations: 326.8 kB / 423.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1028, allocations: 47.95 kB / 423.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.103, allocations: 93.58 kB / 423.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.1033, allocations: 123.4 kB / 423.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1033, allocations: 0 / 423.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003726/0.1036, allocations: 193.3 kB / 423.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1036, allocations: 11.98 kB / 423.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1037, allocations: 0.9375 kB / 423.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1037, allocations: 0 / 423.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1038, allocations: 31.98 kB / 423.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1038, allocations: 7.938 kB / 423.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.1039, allocations: 16.08 kB / 423.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1039, allocations: 11.98 kB / 423.9 MB, free: 6.156 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: 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.000102/0.104, allocations: 117.8 kB / 424 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.1041, allocations: 15.89 kB / 424.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.1041, allocations: 16.72 kB / 424.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1041, allocations: 4 kB / 424.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1041, allocations: 3.938 kB / 424.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1041, allocations: 0 / 424.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/0.1049, allocations: 499.9 kB / 424.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1049, allocations: 4 kB / 424.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.105, allocations: 39.98 kB / 424.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.105, allocations: 0 / 424.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.105, allocations: 4 kB / 424.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.105, allocations: 0 / 424.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.105, allocations: 3.984 kB / 424.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.1056, allocations: 324.9 kB / 424.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1056, allocations: 89 kB / 425 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1057, allocations: 4 kB / 425 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1058, allocations: 12.03 kB / 425 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.1058, allocations: 15.92 kB / 425 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.1058, allocations: 12 kB / 425.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.674e-05/0.1059, allocations: 114.5 kB / 425.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1059, allocations: 0 / 425.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1061, allocations: 20 kB / 425.2 MB, free: 4.77 MB / 350.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.0008296/0.107, allocations: 0.8544 MB / 426 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1073, allocations: 120 kB / 426.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1073, allocations: 0 / 426.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1075, allocations: 63.89 kB / 426.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1079, allocations: 50.48 kB / 426.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.1103, allocations: 1.937 MB / 428.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.1106, allocations: 0.7123 MB / 428.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.667e-05/0.1107, allocations: 17.42 kB / 428.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.1107, allocations: 39.42 kB / 429 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1107, allocations: 0 / 429 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.1358, allocations: 3.388 MB / 432.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/7.877, allocations: 18.28 kB / 432.4 MB, free: 13.5 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.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.096416561864316]