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.0009103/0.0009103, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009324/0.0009324, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8874/0.8874, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 2.114e-06/2.114e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.656e-05, allocations: 5.375 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002363/0.00239, allocations: 1.664 MB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007568/0.003146, allocations: 498.7 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.003232, allocations: 3.938 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.003342, allocations: 15.81 kB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.003421, allocations: 27.78 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.003593, allocations: 55.81 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.003764, allocations: 119.6 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.003881, allocations: 29.06 kB / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.003956, allocations: 55.83 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.004022, allocations: 27.91 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.004048, allocations: 8 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.004059, allocations: 8 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.004083, allocations: 27.84 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.004115, allocations: 23.92 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.004249, allocations: 95.56 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.004252, allocations: 0 / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.004254, allocations: 0 / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.004258, allocations: 4 kB / 327.2 MB, free: 13.29 MB / 298.7 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.0004442/0.004702, allocations: 352.8 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.004743, allocations: 12.03 kB / 327.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.004777, allocations: 42.73 kB / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.00481, allocations: 16.84 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.005041, allocations: 158.1 kB / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.005056, allocations: 16.33 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.005078, allocations: 8.375 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.005278, allocations: 132.5 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.005289, allocations: 0 / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.0053, allocations: 4 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005306, allocations: 4 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.00542, allocations: 63.95 kB / 328 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.005931, allocations: 0.5154 MB / 328.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.006151, allocations: 118.5 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.318e-05/0.006234, allocations: 64.8 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.006245, allocations: 4 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.006266, allocations: 30.56 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.006267, allocations: 7.938 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007673/0.007034, allocations: 440.9 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.00707, allocations: 55.34 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.007183, allocations: 156.6 kB / 329.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.007198, allocations: 29.7 kB / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.007265, allocations: 116.6 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.007291, allocations: 39.64 kB / 329.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.007342, allocations: 33.72 kB / 329.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.007444, allocations: 322.8 kB / 329.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.007541, allocations: 55.95 kB / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.007643, allocations: 81.98 kB / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.007825, allocations: 135.3 kB / 330.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007827, allocations: 0 / 330.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002299/0.008057, allocations: 177.5 kB / 330.3 MB, free: 9.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.008071, allocations: 4 kB / 330.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.008076, allocations: 4 kB / 330.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.008091, allocations: 0 / 330.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.008203, allocations: 47.94 kB / 330.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.008211, allocations: 11.92 kB / 330.4 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.008256, allocations: 15.98 kB / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.008264, allocations: 4 kB / 330.4 MB, free: 9.809 MB / 298.7 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 8.083e-05/0.008345, allocations: 125.8 kB / 330.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.008366, allocations: 11.91 kB / 330.6 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.008398, allocations: 20.77 kB / 330.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.0084, allocations: 0 / 330.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.008408, allocations: 7.938 kB / 330.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008411, allocations: 4.938 kB / 330.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.008909, allocations: 447.1 kB / 331 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008911, allocations: 0 / 331 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.009012, allocations: 43.97 kB / 331.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009014, allocations: 96 / 331.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.009024, allocations: 7.938 kB / 331.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.009027, allocations: 4 kB / 331.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009029, allocations: 0 / 331.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.009372, allocations: 320.9 kB / 331.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.009386, allocations: 19.91 kB / 331.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.009401, allocations: 4 kB / 331.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.009457, allocations: 12.03 kB / 331.4 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.009502, allocations: 11.98 kB / 331.4 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.009509, allocations: 4 kB / 331.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.588e-05/0.009565, allocations: 115.3 kB / 331.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009565, allocations: 0 / 331.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.009736, allocations: 20 kB / 331.6 MB, free: 8.574 MB / 298.7 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.0005376/0.01027, allocations: 0.8467 MB / 332.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.01053, allocations: 127.1 kB / 332.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01053, allocations: 0 / 332.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.01066, allocations: 67.89 kB / 332.6 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.01098, allocations: 31.97 kB / 332.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.01263, allocations: 1.933 MB / 334.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.609e-05/0.01269, allocations: 110.3 kB / 334.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.268e-05/0.01274, allocations: 17.66 kB / 334.7 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.0128, allocations: 36.5 kB / 334.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01281, allocations: 0 / 334.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.032, allocations: 4.162 MB / 338.9 MB, free: 1.219 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/6.795, allocations: 4 kB / 338.9 MB, free: 1.215 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/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: 8.40149226039648]