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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 114.5 kB / 17.73 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 187 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09353, allocations: 46.63 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002955/0.09652, allocations: 1.663 MB / 376.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.09747, allocations: 0.5236 MB / 376.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.014e-05/0.09757, allocations: 0 / 376.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.09771, allocations: 15.8 kB / 376.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.0978, allocations: 27.8 kB / 376.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.09796, allocations: 43.88 kB / 376.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.09816, allocations: 119.6 kB / 377 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.09828, allocations: 21.11 kB / 377.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.09836, allocations: 55.7 kB / 377.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.09845, allocations: 39.78 kB / 377.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.09848, allocations: 8 kB / 377.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.933e-05/0.09851, allocations: 8 kB / 377.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.09854, allocations: 23.86 kB / 377.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.09861, allocations: 55.67 kB / 377.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.09878, allocations: 87.52 kB / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09879, allocations: 0 / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09879, allocations: 0 / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.09881, allocations: 4 kB / 377.3 MB, free: 2.375 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.0006122/0.09942, allocations: 430.8 kB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.09949, allocations: 12.03 kB / 377.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.09954, allocations: 50.67 kB / 377.8 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.09959, allocations: 12.89 kB / 377.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.09991, allocations: 212.7 kB / 378 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.09994, allocations: 12.31 kB / 378 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.09998, allocations: 11.94 kB / 378.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.1003, allocations: 132.1 kB / 378.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1003, allocations: 0 / 378.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1003, allocations: 4 kB / 378.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1003, allocations: 7.984 kB / 378.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.1006, allocations: 71.88 kB / 378.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007546/0.1013, allocations: 0.5554 MB / 378.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.1017, allocations: 122.5 kB / 378.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1019, allocations: 64.81 kB / 379 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1019, allocations: 0 / 379 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1019, allocations: 34.69 kB / 379 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.102, allocations: 0 / 379 MB, free: 488 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.1586/0.2606, allocations: 0.4996 MB / 379.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2607, allocations: 59.25 kB / 379.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.2608, allocations: 155.5 kB / 379.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2609, allocations: 26.42 kB / 379.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.2609, allocations: 115.7 kB / 379.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.261, allocations: 49.89 kB / 379.9 MB, free: 11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.261, allocations: 34.2 kB / 380 MB, free: 10.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.2611, allocations: 320.5 kB / 380.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2613, allocations: 53.16 kB / 380.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.2615, allocations: 83.59 kB / 380.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.2618, allocations: 134.2 kB / 380.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2618, allocations: 0 / 380.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004038/0.2622, allocations: 178.3 kB / 380.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.2622, allocations: 10.38 kB / 380.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2622, allocations: 0.875 kB / 380.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.2622, allocations: 2.406 kB / 380.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.2624, allocations: 43.83 kB / 380.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2624, allocations: 3.844 kB / 380.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.2625, allocations: 12.25 kB / 380.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.2626, allocations: 7.969 kB / 380.8 MB, free: 10.57 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 8.181e-05/0.2627, allocations: 122.7 kB / 380.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.2627, allocations: 19.5 kB / 380.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.2627, allocations: 15.77 kB / 381 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2628, allocations: 4.984 kB / 381 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2628, allocations: 0 / 381 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2628, allocations: 2.312 kB / 381 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007807/0.2636, allocations: 0.4932 MB / 381.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2636, allocations: 0.7969 kB / 381.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.2638, allocations: 39.11 kB / 381.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2638, allocations: 1.375 kB / 381.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2638, allocations: 5.672 kB / 381.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2638, allocations: 1.375 kB / 381.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2638, allocations: 2.125 kB / 381.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.2643, allocations: 323.7 kB / 381.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.2644, allocations: 86.08 kB / 381.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.2644, allocations: 3.5 kB / 381.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2645, allocations: 15.94 kB / 381.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.2646, allocations: 13.11 kB / 381.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.2646, allocations: 2.75 kB / 381.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.727e-05/0.2647, allocations: 116.8 kB / 382.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2647, allocations: 0.5312 kB / 382.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.2649, allocations: 23.91 kB / 382.1 MB, free: 9.797 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.0007779/0.2657, allocations: 0.8462 MB / 382.9 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.2662, allocations: 123.9 kB / 383 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2662, allocations: 0.5 kB / 383 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.2664, allocations: 73.81 kB / 383.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.2669, allocations: 40.53 kB / 383.2 MB, free: 9.113 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.2691, allocations: 1.951 MB / 385.1 MB, free: 7.785 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.2693, allocations: 0.7131 MB / 385.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.071e-05/0.2694, allocations: 13.02 kB / 385.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.2695, allocations: 41.17 kB / 385.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2695, allocations: 0 / 385.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.2967, allocations: 3.358 MB / 389.2 MB, free: 6.473 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.331, allocations: 17.83 kB / 389.3 MB, free: 6.457 MB / 318.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv","/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) Reference file matches