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.001644/0.001644, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002036/0.002036, allocations: 213.4 kB / 23.73 MB, free: 4.523 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.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001538/0.001538, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2659, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002965/0.2689, allocations: 1.659 MB / 432.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009828/0.2699, allocations: 494.8 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.122e-05/0.27, allocations: 7.938 kB / 433.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.2701, allocations: 11.86 kB / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.2702, allocations: 31.72 kB / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.2704, allocations: 47.94 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.2705, allocations: 111.6 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2707, allocations: 25.09 kB / 433.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.2707, allocations: 47.78 kB / 433.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.2708, allocations: 47.7 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2708, allocations: 8 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.2709, allocations: 12 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.2709, allocations: 23.86 kB / 433.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.2709, allocations: 31.81 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.2711, allocations: 93.39 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2711, allocations: 0 / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2711, allocations: 3.938 kB / 433.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.2711, allocations: 4 kB / 433.7 MB, free: 3.973 MB / 334.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.0005954/0.2717, allocations: 357.7 kB / 434.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2717, allocations: 12.03 kB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.2718, allocations: 38.75 kB / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.2718, allocations: 12.84 kB / 434.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.2721, allocations: 158.8 kB / 434.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2722, allocations: 16.27 kB / 434.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.2722, allocations: 15.94 kB / 434.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.2725, allocations: 122.8 kB / 434.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.2725, allocations: 8 kB / 434.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2725, allocations: 4 kB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2725, allocations: 0 / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.2727, allocations: 71.88 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.2734, allocations: 0.5 MB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.2738, allocations: 130.4 kB / 435.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.2739, allocations: 56.81 kB / 435.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.2739, allocations: 0 / 435.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.274, allocations: 34.56 kB / 435.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.274, allocations: 0 / 435.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00113/0.2751, allocations: 440.9 kB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.2752, allocations: 55.41 kB / 435.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.2754, allocations: 151.9 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2754, allocations: 33.7 kB / 435.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.2755, allocations: 112.9 kB / 436 MB, free: 1.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.2755, allocations: 43.62 kB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.2755, allocations: 41.64 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2757, allocations: 322.8 kB / 436.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2758, allocations: 47.97 kB / 436.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.276, allocations: 91.44 kB / 436.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.2763, allocations: 135.3 kB / 436.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2763, allocations: 0 / 436.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003677/0.2766, allocations: 188.4 kB / 436.9 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2767, allocations: 11.94 kB / 436.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2767, allocations: 3.938 kB / 436.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2767, allocations: 4 kB / 436.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.2768, allocations: 35.97 kB / 436.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2768, allocations: 0 / 436.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.2769, allocations: 15.98 kB / 436.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2769, allocations: 4.062 kB / 436.9 MB, free: 0.5 MB / 334.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 0.0001038/0.277, allocations: 129.8 kB / 437.1 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.2771, allocations: 19.84 kB / 437.1 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.2771, allocations: 12.72 kB / 437.1 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2771, allocations: 4 kB / 437.1 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2771, allocations: 0 / 437.1 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2771, allocations: 0 / 437.1 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.2779, allocations: 459.1 kB / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2779, allocations: 0 / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2781, allocations: 31.97 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2781, allocations: 3.938 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.2781, allocations: 8 kB / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2781, allocations: 0 / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2781, allocations: 0 / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.2787, allocations: 321 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.2787, allocations: 15.91 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2787, allocations: 0 / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2788, allocations: 12.03 kB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.2789, allocations: 19.91 kB / 437.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.2789, allocations: 8 kB / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.279, allocations: 118.9 kB / 438.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.279, allocations: 0 / 438.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.2792, allocations: 23.94 kB / 438.1 MB, free: 15.25 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.0008892/0.2801, allocations: 0.8468 MB / 438.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.2805, allocations: 124 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2805, allocations: 3.938 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.2806, allocations: 59.91 kB / 439.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.2811, allocations: 46.88 kB / 439.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.2836, allocations: 1.929 MB / 441.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.3e-05/0.2836, allocations: 102.2 kB / 441.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.2837, allocations: 17.61 kB / 441.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.2838, allocations: 43.42 kB / 441.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2838, allocations: 0 / 441.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.3157, allocations: 4.086 MB / 445.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.96, allocations: 11.88 kB / 445.4 MB, free: 7.984 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.275224108016118]