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.001517/0.001517, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001596/0.001596, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.621/1.621, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.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.002054/0.002054, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3222, allocations: 49.16 MB / 396.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.0027/0.3249, allocations: 1.682 MB / 398 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.3258, allocations: 0.532 MB / 398.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.994e-05/0.3259, allocations: 5 kB / 398.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.3261, allocations: 15.5 kB / 398.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.667e-05/0.3261, allocations: 26.92 kB / 398.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3263, allocations: 48.66 kB / 398.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.3266, allocations: 117.4 kB / 398.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3267, allocations: 23.02 kB / 398.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.3268, allocations: 51.03 kB / 398.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3269, allocations: 44.67 kB / 398.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.3269, allocations: 7.5 kB / 398.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.126e-05/0.3269, allocations: 12.34 kB / 398.9 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.3269, allocations: 16.12 kB / 398.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.327, allocations: 49.53 kB / 399 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.3272, allocations: 97.27 kB / 399.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3272, allocations: 4 kB / 399.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3272, allocations: 0 / 399.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3272, allocations: 1.125 kB / 399.1 MB, free: 7.18 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.0005371/0.3277, allocations: 352.8 kB / 399.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3278, allocations: 15.34 kB / 399.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.3278, allocations: 47.34 kB / 399.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3278, allocations: 14.94 kB / 399.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.3281, allocations: 163.8 kB / 399.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3281, allocations: 7.406 kB / 399.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.3281, allocations: 16 kB / 399.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.3284, allocations: 122.2 kB / 399.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3284, allocations: 5.125 kB / 399.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3284, allocations: 6.141 kB / 399.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3284, allocations: 1.312 kB / 399.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.3286, allocations: 67.7 kB / 399.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.3293, allocations: 0.5232 MB / 400.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.3296, allocations: 128.1 kB / 400.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3297, allocations: 62.16 kB / 400.6 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3298, allocations: 1.219 kB / 400.6 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.3298, allocations: 32.64 kB / 400.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3298, allocations: 3.938 kB / 400.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001012/0.3308, allocations: 445.3 kB / 401 MB, free: 5.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.3308, allocations: 53.67 kB / 401.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3309, allocations: 160.4 kB / 401.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3309, allocations: 30.92 kB / 401.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.331, allocations: 113.6 kB / 401.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.331, allocations: 40.17 kB / 401.4 MB, free: 5.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.3311, allocations: 39.62 kB / 401.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.3311, allocations: 322.3 kB / 401.8 MB, free: 5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3313, allocations: 50.78 kB / 401.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.3314, allocations: 81.92 kB / 401.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.3317, allocations: 138.7 kB / 402.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3317, allocations: 0 / 402.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003597/0.3321, allocations: 170.7 kB / 402.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3321, allocations: 10.55 kB / 402.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3321, allocations: 5.219 kB / 402.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3321, allocations: 1.891 kB / 402.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3323, allocations: 43.28 kB / 402.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3323, allocations: 2.406 kB / 402.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.3324, allocations: 15.75 kB / 402.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3324, allocations: 4.469 kB / 402.3 MB, free: 4.781 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 7.135e-05/0.3324, allocations: 123.9 kB / 402.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3325, allocations: 16.91 kB / 402.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.3325, allocations: 16.97 kB / 402.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3325, allocations: 4.969 kB / 402.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3325, allocations: 2.016 kB / 402.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3325, allocations: 0.7031 kB / 402.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007165/0.3332, allocations: 472.5 kB / 402.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3332, allocations: 1.469 kB / 402.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3334, allocations: 35 kB / 403 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3334, allocations: 1.219 kB / 403 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3334, allocations: 7.141 kB / 403 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3334, allocations: 1.375 kB / 403 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3334, allocations: 0 / 403 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.3339, allocations: 323.3 kB / 403.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.334, allocations: 16.02 kB / 403.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.334, allocations: 2.906 kB / 403.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3341, allocations: 23.83 kB / 403.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3341, allocations: 17.8 kB / 403.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3342, allocations: 3.438 kB / 403.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.47e-05/0.3342, allocations: 114.1 kB / 403.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3342, allocations: 0 / 403.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3345, allocations: 24.97 kB / 403.5 MB, free: 3.941 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.0006978/0.3352, allocations: 0.8452 MB / 404.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.3355, allocations: 120.6 kB / 404.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3355, allocations: 0 / 404.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3357, allocations: 71.03 kB / 404.5 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3361, allocations: 36.98 kB / 404.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3382, allocations: 1.951 MB / 406.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3383, allocations: 0.7088 MB / 407.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.92e-05/0.3384, allocations: 15.19 kB / 407.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.3385, allocations: 41.31 kB / 407.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3385, allocations: 1.406 kB / 407.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.3746, allocations: 3.578 MB / 410.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.61, allocations: 5.438 kB / 410.9 MB, free: 15.78 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.225188479060307]