Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 109.5 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 184.4 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 43.94 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003183/0.2592, allocations: 1.69 MB / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.2602, allocations: 490.8 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.2603, allocations: 7.938 kB / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.2604, allocations: 19.8 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2605, allocations: 27.78 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2607, allocations: 47.89 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.261, allocations: 119.6 kB / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2611, allocations: 21.3 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.2612, allocations: 47.78 kB / 425.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.2613, allocations: 47.72 kB / 425.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.2613, allocations: 12 kB / 425.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.2613, allocations: 8 kB / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.2614, allocations: 19.91 kB / 425.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.2614, allocations: 47.69 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.2616, allocations: 95.92 kB / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2616, allocations: 0 / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2616, allocations: 0 / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2616, allocations: 0 / 425.3 MB, free: 11.93 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.0006013/0.2622, allocations: 361.7 kB / 425.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2623, allocations: 8.031 kB / 425.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.2623, allocations: 42.69 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.2623, allocations: 16.84 kB / 425.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.2627, allocations: 161.3 kB / 425.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.2627, allocations: 8 kB / 425.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.2627, allocations: 15.98 kB / 425.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.263, allocations: 132.1 kB / 426 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.263, allocations: 0 / 426 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.263, allocations: 8 kB / 426 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.263, allocations: 0 / 426 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.2632, allocations: 71.88 kB / 426.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.264, allocations: 0.5156 MB / 426.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.2643, allocations: 134.4 kB / 426.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2645, allocations: 56.81 kB / 426.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.2645, allocations: 0 / 426.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.2645, allocations: 42.62 kB / 426.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2645, allocations: 0 / 426.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001129/0.2656, allocations: 440.7 kB / 427.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.2657, allocations: 59.34 kB / 427.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.2659, allocations: 157.6 kB / 427.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.2659, allocations: 29.7 kB / 427.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.266, allocations: 116 kB / 427.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.266, allocations: 39.64 kB / 427.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.2661, allocations: 37.7 kB / 427.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2663, allocations: 318.8 kB / 428 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.2664, allocations: 59.95 kB / 428.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.2666, allocations: 75.39 kB / 428.2 MB, free: 8.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.2669, allocations: 131.3 kB / 428.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2669, allocations: 4 kB / 428.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003873/0.2673, allocations: 188.3 kB / 428.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2673, allocations: 4 kB / 428.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2673, allocations: 0 / 428.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2673, allocations: 8 kB / 428.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2675, allocations: 35.92 kB / 428.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2675, allocations: 3.984 kB / 428.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/0.2676, allocations: 15.98 kB / 428.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2676, allocations: 4.938 kB / 428.5 MB, free: 8.434 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.0001006/0.2677, allocations: 125.8 kB / 428.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.2677, allocations: 15.89 kB / 428.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.2678, allocations: 16.66 kB / 428.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2678, allocations: 4 kB / 428.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2678, allocations: 0 / 428.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2678, allocations: 3.984 kB / 428.7 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/0.2686, allocations: 474.9 kB / 429.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2686, allocations: 0 / 429.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.2688, allocations: 31.97 kB / 429.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2688, allocations: 0 / 429.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2688, allocations: 8 kB / 429.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.2688, allocations: 4.062 kB / 429.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2688, allocations: 3.938 kB / 429.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.2694, allocations: 324.9 kB / 429.5 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.2694, allocations: 11.95 kB / 429.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.2694, allocations: 4 kB / 429.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2695, allocations: 12.03 kB / 429.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.2696, allocations: 15.92 kB / 429.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.2696, allocations: 4 kB / 429.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.685e-05/0.2697, allocations: 115.2 kB / 429.7 MB, free: 7.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2697, allocations: 0 / 429.7 MB, free: 7.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.2699, allocations: 24 kB / 429.7 MB, free: 7.172 MB / 334.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.0008622/0.2708, allocations: 0.8506 MB / 430.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.2711, allocations: 119.8 kB / 430.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2711, allocations: 4.188 kB / 430.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.2713, allocations: 67.89 kB / 430.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.2717, allocations: 47.25 kB / 430.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.2743, allocations: 1.949 MB / 432.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.2747, allocations: 0.7084 MB / 433.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.2748, allocations: 17.36 kB / 433.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.2749, allocations: 39.42 kB / 433.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2749, allocations: 3.938 kB / 433.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.3169, allocations: 3.566 MB / 437.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.29, allocations: 7.438 kB / 437.1 MB, free: 15.77 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.604446263983846]