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.00175/0.00175, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001833/0.001833, allocations: 215 kB / 24.47 MB, free: 3.551 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.391/1.391, allocations: 207.7 MB / 235.3 MB, free: 9.781 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.001777/0.001777, allocations: 55.86 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.27, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002398/0.2724, allocations: 1.638 MB / 398 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.2731, allocations: 0.4986 MB / 398.5 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.2732, allocations: 6.156 kB / 398.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2733, allocations: 14.39 kB / 398.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.2733, allocations: 32.62 kB / 398.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.2735, allocations: 50.39 kB / 398.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.2737, allocations: 119.4 kB / 398.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.2738, allocations: 15.77 kB / 398.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.807e-05/0.2738, allocations: 44.06 kB / 398.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.2739, allocations: 48.44 kB / 398.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.2739, allocations: 7.125 kB / 398.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.2739, allocations: 8 kB / 398.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.2739, allocations: 17.44 kB / 398.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.274, allocations: 42.14 kB / 398.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.2741, allocations: 89.62 kB / 399 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2741, allocations: 4 kB / 399 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2741, allocations: 4.969 kB / 399 MB, free: 7.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2741, allocations: 0 / 399 MB, free: 7.168 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.0004515/0.2746, allocations: 358 kB / 399.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2746, allocations: 13.33 kB / 399.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.2747, allocations: 39.45 kB / 399.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.2747, allocations: 16.88 kB / 399.4 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.2749, allocations: 158.6 kB / 399.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2749, allocations: 8.375 kB / 399.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.2749, allocations: 11.09 kB / 399.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.2752, allocations: 131.8 kB / 399.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2752, allocations: 1.062 kB / 399.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2752, allocations: 1.438 kB / 399.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2752, allocations: 2.281 kB / 399.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.2754, allocations: 72.62 kB / 399.8 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.2759, allocations: 0.5065 MB / 400.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.2762, allocations: 125.1 kB / 400.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2763, allocations: 56.45 kB / 400.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.2763, allocations: 1.5 kB / 400.5 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.2764, allocations: 36.72 kB / 400.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.2764, allocations: 0.9688 kB / 400.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009572/0.2773, allocations: 450.5 kB / 400.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.2773, allocations: 54.89 kB / 401 MB, free: 5.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2774, allocations: 160.4 kB / 401.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.2775, allocations: 26.31 kB / 401.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2775, allocations: 112.9 kB / 401.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.2775, allocations: 53.78 kB / 401.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.2776, allocations: 29.66 kB / 401.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.2776, allocations: 331.2 kB / 401.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2778, allocations: 46.73 kB / 401.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2779, allocations: 82.64 kB / 401.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.2782, allocations: 138.8 kB / 401.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2782, allocations: 1.125 kB / 401.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003376/0.2785, allocations: 171 kB / 402.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2785, allocations: 9.781 kB / 402.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2785, allocations: 5.25 kB / 402.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2785, allocations: 2.188 kB / 402.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2787, allocations: 39.31 kB / 402.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2787, allocations: 1.844 kB / 402.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.2788, allocations: 12.88 kB / 402.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2788, allocations: 8.094 kB / 402.2 MB, free: 4.785 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 5.797e-05/0.2788, allocations: 115.4 kB / 402.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.2789, allocations: 22.17 kB / 402.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.2789, allocations: 12.3 kB / 402.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2789, allocations: 6 kB / 402.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2789, allocations: 1 kB / 402.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2789, allocations: 4.453 kB / 402.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006251/0.2795, allocations: 462 kB / 402.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2795, allocations: 4.062 kB / 402.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.2797, allocations: 31.84 kB / 402.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2797, allocations: 1.438 kB / 402.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2797, allocations: 5.922 kB / 402.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2797, allocations: 1.469 kB / 402.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2797, allocations: 2.266 kB / 402.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.2802, allocations: 326.8 kB / 403.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.2802, allocations: 16.8 kB / 403.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.2802, allocations: 7.359 kB / 403.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2803, allocations: 11.55 kB / 403.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.2804, allocations: 13.55 kB / 403.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.2804, allocations: 3.375 kB / 403.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6e-05/0.2804, allocations: 113.4 kB / 403.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2804, allocations: 1.438 kB / 403.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.2807, allocations: 24.66 kB / 403.3 MB, free: 3.961 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.0006225/0.2813, allocations: 0.8487 MB / 404.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.2816, allocations: 127.4 kB / 404.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2816, allocations: 0 / 404.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.2818, allocations: 64.38 kB / 404.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.2821, allocations: 47.22 kB / 404.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.284, allocations: 1.943 MB / 406.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.224e-05/0.2841, allocations: 99.52 kB / 406.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.2841, allocations: 21.86 kB / 406.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.2842, allocations: 38.16 kB / 406.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2842, allocations: 5.969 kB / 406.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.3144, allocations: 4.067 MB / 410.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.86, allocations: 8.875 kB / 410.6 MB, free: 15.93 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.120854616165161]