Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001736/0.001736, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002291/0.002291, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.441/1.441, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 55.91 kB / 373 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09626/0.0978, allocations: 53.33 MB / 426.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002935/0.1007, allocations: 1.696 MB / 428 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.1017, allocations: 0.5104 MB / 428.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.252e-05/0.1018, allocations: 0 / 428.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.1019, allocations: 15.8 kB / 428.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.102, allocations: 31.78 kB / 428.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.1022, allocations: 47.88 kB / 428.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1024, allocations: 115.6 kB / 428.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1025, allocations: 21.11 kB / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.267e-05/0.1026, allocations: 47.73 kB / 428.8 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.492e-05/0.1027, allocations: 47.72 kB / 428.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.1027, allocations: 8 kB / 428.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.1027, allocations: 4 kB / 428.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.1027, allocations: 23.91 kB / 428.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.1028, allocations: 47.67 kB / 428.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.103, allocations: 91.45 kB / 429 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.103, allocations: 4 kB / 429 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.103, allocations: 4 kB / 429 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.103, allocations: 0 / 429 MB, free: 2.145 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.0006278/0.1036, allocations: 426.9 kB / 429.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1036, allocations: 16.02 kB / 429.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.1037, allocations: 46.69 kB / 429.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1037, allocations: 16.84 kB / 429.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.104, allocations: 212.8 kB / 429.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1041, allocations: 8.375 kB / 429.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.1041, allocations: 23.81 kB / 429.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.1044, allocations: 128.1 kB / 429.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1044, allocations: 0 / 429.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1044, allocations: 4 kB / 429.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1044, allocations: 8 kB / 429.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.1046, allocations: 63.89 kB / 430 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.1053, allocations: 0.5516 MB / 430.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.1057, allocations: 122.5 kB / 430.6 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.1059, allocations: 60.81 kB / 430.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1059, allocations: 4 kB / 430.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1059, allocations: 34.69 kB / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1059, allocations: 0 / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.1747/0.2806, allocations: 0.4986 MB / 431.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.2806, allocations: 53.97 kB / 431.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2808, allocations: 154.5 kB / 431.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.2808, allocations: 27.66 kB / 431.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.2808, allocations: 112.2 kB / 431.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.2808, allocations: 48.22 kB / 431.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.2809, allocations: 33.86 kB / 431.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.2809, allocations: 324.9 kB / 432 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2811, allocations: 55.69 kB / 432 MB, free: 10.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.2813, allocations: 88.02 kB / 432.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.2816, allocations: 126.8 kB / 432.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2816, allocations: 3.625 kB / 432.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003951/0.2819, allocations: 180.9 kB / 432.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.282, allocations: 7.359 kB / 432.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.282, allocations: 1.969 kB / 432.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.282, allocations: 5.906 kB / 432.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.2822, allocations: 39.39 kB / 432.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2822, allocations: 7.781 kB / 432.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.354e-05/0.2823, allocations: 15.2 kB / 432.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2823, allocations: 4.125 kB / 432.5 MB, free: 10.41 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 6.824e-05/0.2823, allocations: 123.9 kB / 432.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.2824, allocations: 11.16 kB / 432.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.2824, allocations: 19.47 kB / 432.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2824, allocations: 1.781 kB / 432.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2824, allocations: 0 / 432.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2824, allocations: 1.312 kB / 432.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.2831, allocations: 0.4955 MB / 433.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2831, allocations: 2.344 kB / 433.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.2833, allocations: 30.86 kB / 433.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2833, allocations: 2.344 kB / 433.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2833, allocations: 2.641 kB / 433.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2833, allocations: 4.75 kB / 433.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2833, allocations: 6.5 kB / 433.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.2838, allocations: 324 kB / 433.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.2838, allocations: 91.06 kB / 433.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.2838, allocations: 8 kB / 433.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2839, allocations: 14.38 kB / 433.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.284, allocations: 15.45 kB / 433.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.284, allocations: 1.781 kB / 433.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.284, allocations: 117.3 kB / 433.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.284, allocations: 0 / 433.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.2843, allocations: 26.84 kB / 433.8 MB, free: 9.633 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.0005967/0.2849, allocations: 0.8486 MB / 434.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.2852, allocations: 119.6 kB / 434.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2852, allocations: 3.75 kB / 434.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.2854, allocations: 67.66 kB / 434.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.2858, allocations: 36.42 kB / 434.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.2878, allocations: 1.935 MB / 436.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2879, allocations: 0.7117 MB / 437.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.288, allocations: 18.27 kB / 437.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.288, allocations: 41.16 kB / 437.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.288, allocations: 0 / 437.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.3163, allocations: 3.35 MB / 440.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.992, allocations: 4.453 kB / 440.9 MB, free: 6.445 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.3041184800677]