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.001728/0.001728, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002434/0.002434, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.001785/0.001785, allocations: 47.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2524, allocations: 53.36 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003313/0.2558, allocations: 1.703 MB / 432.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2569, allocations: 0.5259 MB / 433.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.141e-05/0.257, allocations: 7.938 kB / 433.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.2571, allocations: 11.86 kB / 433.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.2572, allocations: 31.72 kB / 433.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.2573, allocations: 47.89 kB / 433.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.2576, allocations: 115.6 kB / 433.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2577, allocations: 25.09 kB / 433.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.2578, allocations: 47.72 kB / 433.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.2579, allocations: 43.78 kB / 433.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.2579, allocations: 11.94 kB / 433.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.2579, allocations: 8 kB / 433.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.258, allocations: 23.92 kB / 433.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.258, allocations: 47.66 kB / 433.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.2582, allocations: 97.34 kB / 433.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2582, allocations: 0 / 433.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2582, allocations: 0 / 433.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.2582, allocations: 4 kB / 433.9 MB, free: 4.098 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.0005934/0.2588, allocations: 349.8 kB / 434.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2588, allocations: 8.031 kB / 434.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.617e-05/0.2589, allocations: 38.75 kB / 434.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.2589, allocations: 16.84 kB / 434.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2592, allocations: 160.5 kB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.2593, allocations: 12.33 kB / 434.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.2593, allocations: 15.94 kB / 434.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.2596, allocations: 127.3 kB / 434.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2596, allocations: 4 kB / 434.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2596, allocations: 0 / 434.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2596, allocations: 0 / 434.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.2598, allocations: 75.88 kB / 434.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.2606, allocations: 0.5155 MB / 435.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.2609, allocations: 130.4 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.2611, allocations: 56.81 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2611, allocations: 0 / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2611, allocations: 38.56 kB / 435.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.766e-06/0.2611, allocations: 3.984 kB / 435.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001161/0.2623, allocations: 454.5 kB / 435.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.2623, allocations: 51.41 kB / 435.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2625, allocations: 159.5 kB / 436 MB, free: 1.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2625, allocations: 25.7 kB / 436.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.2626, allocations: 112 kB / 436.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.2626, allocations: 47.58 kB / 436.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.2627, allocations: 37.7 kB / 436.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2628, allocations: 318.8 kB / 436.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.263, allocations: 59.95 kB / 436.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.2632, allocations: 83.45 kB / 436.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.2635, allocations: 131.3 kB / 436.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2635, allocations: 4 kB / 436.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003873/0.2639, allocations: 185.3 kB / 437 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2639, allocations: 14.75 kB / 437 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2639, allocations: 0 / 437 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2639, allocations: 4 kB / 437 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.2641, allocations: 35.98 kB / 437.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2641, allocations: 3.984 kB / 437.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.2642, allocations: 16.08 kB / 437.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2642, allocations: 4 kB / 437.1 MB, free: 0.6133 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.0001045/0.2643, allocations: 121.8 kB / 437.2 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.2643, allocations: 19.84 kB / 437.2 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.2644, allocations: 12.72 kB / 437.3 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2644, allocations: 7.938 kB / 437.3 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2644, allocations: 0 / 437.3 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2644, allocations: 3.984 kB / 437.3 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.2652, allocations: 464 kB / 437.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2652, allocations: 4 kB / 437.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.2654, allocations: 39.97 kB / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2654, allocations: 0 / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2654, allocations: 8 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2654, allocations: 0 / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2654, allocations: 0 / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.266, allocations: 325.1 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.266, allocations: 11.91 kB / 438.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.266, allocations: 4 kB / 438.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.2662, allocations: 19.92 kB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.2662, allocations: 15.92 kB / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.2662, allocations: 4 kB / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.2663, allocations: 115.2 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2663, allocations: 0 / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.2666, allocations: 23.94 kB / 438.3 MB, free: 15.35 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.000932/0.2675, allocations: 0.8351 MB / 439.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.2678, allocations: 119.9 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2678, allocations: 0 / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.268, allocations: 71.83 kB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.2684, allocations: 35.97 kB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.2711, allocations: 1.948 MB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.2714, allocations: 0.7161 MB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.996e-05/0.2715, allocations: 17.59 kB / 442 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.2716, allocations: 39.42 kB / 442.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2716, allocations: 0 / 442.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.3058, allocations: 3.537 MB / 445.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.49, allocations: 18.48 kB / 445.6 MB, free: 7.992 MB / 350.1 MB " [Timeout remaining time 648] (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.98679692693986]