Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008453/0.0008453, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008261/0.0008261, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8843/0.8843, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.919e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001918/0.001937, allocations: 1.673 MB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006566/0.002593, allocations: 490.8 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.002665, allocations: 3.938 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.378e-05/0.002759, allocations: 15.86 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.002824, allocations: 31.72 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.002972, allocations: 55.81 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003111, allocations: 115.6 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.003219, allocations: 25.08 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.79e-05/0.003287, allocations: 59.81 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.00335, allocations: 31.91 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.003374, allocations: 8 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.003384, allocations: 8 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.003405, allocations: 27.84 kB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.00343, allocations: 19.94 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.00355, allocations: 95.61 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003552, allocations: 0 / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003553, allocations: 3.938 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.003557, allocations: 0 / 327.1 MB, free: 13.23 MB / 298.7 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.0003908/0.003948, allocations: 353.8 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.003985, allocations: 15.98 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.004016, allocations: 42.73 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.004044, allocations: 16.84 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.004248, allocations: 158.1 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.004263, allocations: 8.328 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.004283, allocations: 8.375 kB / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.004475, allocations: 132.5 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.004487, allocations: 3.984 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.004497, allocations: 4 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004503, allocations: 4 kB / 327.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.004612, allocations: 67.89 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.005085, allocations: 0.5076 MB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.005281, allocations: 130.4 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.005359, allocations: 56.83 kB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.00537, allocations: 0 / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.005388, allocations: 30.56 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.005389, allocations: 4 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006765/0.006066, allocations: 448.9 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.006094, allocations: 55.34 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.006193, allocations: 158.9 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.006209, allocations: 29.7 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.006264, allocations: 116 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.006284, allocations: 39.64 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.006322, allocations: 37.7 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.006395, allocations: 322.8 kB / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.006474, allocations: 51.95 kB / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.006562, allocations: 82.67 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.006723, allocations: 135.2 kB / 330.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006724, allocations: 0 / 330.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002152/0.006939, allocations: 181.5 kB / 330.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.006953, allocations: 7.938 kB / 330.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.006959, allocations: 4 kB / 330.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.00697, allocations: 3.984 kB / 330.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.007067, allocations: 39.91 kB / 330.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.007074, allocations: 4 kB / 330.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.007116, allocations: 20.08 kB / 330.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.007122, allocations: 4 kB / 330.4 MB, free: 9.746 MB / 298.7 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 6.702e-05/0.007189, allocations: 125.7 kB / 330.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.007216, allocations: 11.91 kB / 330.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.007242, allocations: 16.78 kB / 330.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.007243, allocations: 0 / 330.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.007249, allocations: 7.938 kB / 330.5 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.007252, allocations: 3.984 kB / 330.5 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.007695, allocations: 452 kB / 331 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007697, allocations: 0 / 331 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.007784, allocations: 35.97 kB / 331 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007787, allocations: 0 / 331 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.007796, allocations: 4 kB / 331 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.007799, allocations: 4.094 kB / 331 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0078, allocations: 11.94 kB / 331 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.008115, allocations: 312.9 kB / 331.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.008129, allocations: 19.94 kB / 331.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.008144, allocations: 4 kB / 331.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.008196, allocations: 15.98 kB / 331.4 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.008233, allocations: 11.98 kB / 331.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.008239, allocations: 4 kB / 331.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.937e-05/0.008288, allocations: 111.2 kB / 331.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008288, allocations: 3.938 kB / 331.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.008448, allocations: 20 kB / 331.5 MB, free: 8.512 MB / 298.7 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.0004711/0.008919, allocations: 0.8495 MB / 332.4 MB, free: 7.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.009125, allocations: 122.9 kB / 332.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009127, allocations: 0 / 332.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.009217, allocations: 72.2 kB / 332.6 MB, free: 7.441 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.009483, allocations: 43.22 kB / 332.6 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.01096, allocations: 1.925 MB / 334.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.201e-05/0.01102, allocations: 102.4 kB / 334.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.01106, allocations: 13.42 kB / 334.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.01112, allocations: 40.48 kB / 334.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01112, allocations: 4 kB / 334.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.02945, allocations: 4.159 MB / 338.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.036, allocations: 4.062 kB / 338.8 MB, free: 1.133 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.664998167194426]