Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006499/0.006499, allocations: 109.1 kB / 21.98 MB, free: 5.184 MB / 14.72 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.001738/0.001738, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 259 MB, free: 8.008 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-beta.om/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: 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-beta.om_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-beta.om_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2434, allocations: 53.36 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003034/0.2464, allocations: 1.717 MB / 434.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.2474, allocations: 0.5298 MB / 435.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.2475, allocations: 0 / 435.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.2476, allocations: 15.8 kB / 435.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.385e-05/0.2477, allocations: 27.8 kB / 435.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.2478, allocations: 47.88 kB / 435.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.2481, allocations: 115.6 kB / 435.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2482, allocations: 13.3 kB / 435.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.2483, allocations: 39.86 kB / 435.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2484, allocations: 59.62 kB / 435.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2484, allocations: 8 kB / 435.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.2484, allocations: 12 kB / 435.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.2485, allocations: 15.94 kB / 435.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.2485, allocations: 47.67 kB / 435.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2487, allocations: 100.7 kB / 435.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2487, allocations: 0 / 435.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2487, allocations: 7.938 kB / 435.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.2487, allocations: 0 / 435.9 MB, free: 4.199 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.0005915/0.2493, allocations: 349.8 kB / 436.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2493, allocations: 16.02 kB / 436.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.2494, allocations: 16.84 kB / 436.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.2497, allocations: 146.9 kB / 436.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.2497, allocations: 8.375 kB / 436.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.2497, allocations: 20.08 kB / 436.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.25, allocations: 127.1 kB / 436.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.25, allocations: 7.938 kB / 436.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.25, allocations: 4 kB / 436.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.25, allocations: 3.984 kB / 436.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.2502, allocations: 63.95 kB / 436.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.2511, allocations: 0.5195 MB / 437.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.2515, allocations: 130.4 kB / 437.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.2516, allocations: 56.81 kB / 437.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.2516, allocations: 0 / 437.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.2517, allocations: 34.56 kB / 437.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.2517, allocations: 0 / 437.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001172/0.2528, allocations: 452.8 kB / 437.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.2529, allocations: 51.41 kB / 437.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.253, allocations: 151.1 kB / 438 MB, free: 1.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.253, allocations: 30.64 kB / 438.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.161e-05/0.2531, allocations: 116 kB / 438.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.2532, allocations: 47.58 kB / 438.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.2532, allocations: 33.7 kB / 438.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2534, allocations: 318.8 kB / 438.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.2536, allocations: 59.95 kB / 438.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.2538, allocations: 83.33 kB / 438.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.2541, allocations: 134.6 kB / 438.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2541, allocations: 4 kB / 438.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003835/0.2545, allocations: 173.5 kB / 439 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2545, allocations: 12.03 kB / 439 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2545, allocations: 7.938 kB / 439 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2545, allocations: 4 kB / 439 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2547, allocations: 39.91 kB / 439.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2547, allocations: 0 / 439.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.2548, allocations: 19.98 kB / 439.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2548, allocations: 4 kB / 439.1 MB, free: 0.7656 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.0001085/0.2549, allocations: 117.8 kB / 439.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.255, allocations: 19.91 kB / 439.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.255, allocations: 16.66 kB / 439.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.255, allocations: 4 kB / 439.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.255, allocations: 3.984 kB / 439.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.255, allocations: 3.938 kB / 439.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.2558, allocations: 463 kB / 439.7 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2558, allocations: 7.984 kB / 439.7 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.256, allocations: 31.92 kB / 439.7 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.256, allocations: 0 / 439.7 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.256, allocations: 8 kB / 439.8 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.256, allocations: 0 / 439.8 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.256, allocations: 0 / 439.8 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.2567, allocations: 321 kB / 440.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.2567, allocations: 19.91 kB / 440.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.2567, allocations: 4 kB / 440.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2569, allocations: 12.03 kB / 440.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.2569, allocations: 11.98 kB / 440.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.2569, allocations: 7.938 kB / 440.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.257, allocations: 118.9 kB / 440.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.257, allocations: 0 / 440.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.2573, allocations: 20 kB / 440.3 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.691e-05/0.2574, allocations: 99.19 kB / 440.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003773/0.2577, allocations: 123.8 kB / 440.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2577, allocations: 0 / 440.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.2579, allocations: 72.23 kB / 440.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.2583, allocations: 38.78 kB / 440.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.259, allocations: 342 kB / 440.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.2594, allocations: 0.72 MB / 441.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.2595, allocations: 15.44 kB / 441.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2595, allocations: 0 / 441.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of Templates: time 0.003931/0.2634, allocations: 1.708 MB / 443.4 MB, free: 12.35 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.001975829945877]