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.001378/0.001378, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001476/0.001476, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.758 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: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 55.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2468, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002917/0.2497, allocations: 1.656 MB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2508, allocations: 494.7 kB / 434.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.154e-05/0.2509, allocations: 0 / 434.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.251, allocations: 15.81 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/0.2511, allocations: 27.78 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.2512, allocations: 55.88 kB / 434.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.2514, allocations: 115.6 kB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2516, allocations: 21.09 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.03e-05/0.2516, allocations: 39.8 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.2517, allocations: 47.7 kB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.2518, allocations: 8 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.2518, allocations: 8 kB / 434.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.2518, allocations: 15.92 kB / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.2519, allocations: 43.73 kB / 434.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.252, allocations: 98.27 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.252, allocations: 4 kB / 435 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.252, allocations: 0 / 435 MB, free: 4.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.252, allocations: 0 / 435 MB, free: 4.105 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.000583/0.2526, allocations: 353.8 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2526, allocations: 12.03 kB / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.2527, allocations: 12.84 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.253, allocations: 166 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.253, allocations: 12.33 kB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.253, allocations: 8.125 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.2533, allocations: 130.8 kB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2534, allocations: 3.938 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.2534, allocations: 4 kB / 435.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2534, allocations: 0 / 435.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.2536, allocations: 75.94 kB / 435.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.2543, allocations: 484.6 kB / 436.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.2547, allocations: 130.4 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.2548, allocations: 60.81 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2548, allocations: 0 / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.2549, allocations: 34.56 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.2549, allocations: 0 / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001157/0.256, allocations: 448.8 kB / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.2561, allocations: 56.34 kB / 436.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2562, allocations: 151.9 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.2563, allocations: 29.7 kB / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.2564, allocations: 108 kB / 437.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.2564, allocations: 51.56 kB / 437.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.2565, allocations: 29.72 kB / 437.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2566, allocations: 322.8 kB / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.2568, allocations: 55.95 kB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.2569, allocations: 83.48 kB / 437.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.2573, allocations: 139.3 kB / 437.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2573, allocations: 7.938 kB / 437.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003982/0.2577, allocations: 173.5 kB / 438 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2577, allocations: 4 kB / 438 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2577, allocations: 0 / 438 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2577, allocations: 8.031 kB / 438 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.2579, allocations: 39.97 kB / 438.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2579, allocations: 3.938 kB / 438.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.258, allocations: 15.98 kB / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.258, allocations: 4 kB / 438.1 MB, free: 0.7227 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.0001078/0.2581, allocations: 117.8 kB / 438.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.2581, allocations: 19.84 kB / 438.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.2582, allocations: 20.7 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2582, allocations: 3.938 kB / 438.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2582, allocations: 4 kB / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2582, allocations: 0 / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007733/0.259, allocations: 423.6 kB / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.259, allocations: 0 / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.2591, allocations: 43.97 kB / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2591, allocations: 4 kB / 438.7 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2591, allocations: 0 / 438.7 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2591, allocations: 0 / 438.7 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2592, allocations: 4 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.2598, allocations: 320.9 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.2598, allocations: 23.88 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2598, allocations: 8 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2599, allocations: 11.98 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.26, allocations: 11.98 kB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.26, allocations: 0 / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.167e-05/0.2601, allocations: 114.9 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2601, allocations: 0 / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.2603, allocations: 24 kB / 439.2 MB, free: 15.52 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 9.712e-05/0.2604, allocations: 99.25 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.2608, allocations: 123.8 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2608, allocations: 96 / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.261, allocations: 60.16 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.2614, allocations: 57.62 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.2621, allocations: 346 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.485e-05/0.2622, allocations: 98.72 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.2622, allocations: 15.44 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2622, allocations: 0 / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Templates: time 0.003699/0.2659, allocations: 1.744 MB / 441.8 MB, free: 12.94 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] 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: 6.942489544861019]