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.001186/0.001186, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001058/0.001058, allocations: 146.4 kB / 25.6 MB, free: 8.449 MB / 18.57 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 0.9443/0.9443, allocations: 173.4 MB / 202.3 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] 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: 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.0.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.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.737e-05, allocations: 2.312 kB / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002519/0.002546, allocations: 1.678 MB / 270.9 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.003325, allocations: 477.6 kB / 271.3 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.003409, allocations: 4 kB / 271.3 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.003514, allocations: 19.73 kB / 271.4 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.003596, allocations: 32.38 kB / 271.4 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.003746, allocations: 49.66 kB / 271.4 MB, free: 7.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.003902, allocations: 119.6 kB / 271.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004003, allocations: 25.28 kB / 271.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.004086, allocations: 55.77 kB / 271.6 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.004165, allocations: 39.83 kB / 271.7 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.004187, allocations: 8.5 kB / 271.7 MB, free: 7.285 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.004201, allocations: 8.75 kB / 271.7 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.004226, allocations: 19.92 kB / 271.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.004257, allocations: 28.45 kB / 271.7 MB, free: 7.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.004375, allocations: 71.67 kB / 271.8 MB, free: 7.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004377, allocations: 0.6875 kB / 271.8 MB, free: 7.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004378, allocations: 0 / 271.8 MB, free: 7.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004381, allocations: 0.7812 kB / 271.8 MB, free: 7.16 MB / 250.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.0004074/0.004789, allocations: 453.7 kB / 272.2 MB, free: 6.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.004819, allocations: 8.031 kB / 272.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.004858, allocations: 20.84 kB / 272.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.005038, allocations: 166.5 kB / 272.4 MB, free: 6.469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.005057, allocations: 8.375 kB / 272.4 MB, free: 6.461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.005079, allocations: 11.94 kB / 272.5 MB, free: 6.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.005255, allocations: 133.7 kB / 272.6 MB, free: 6.297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005264, allocations: 0.5 kB / 272.6 MB, free: 6.297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.005275, allocations: 8 kB / 272.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.005281, allocations: 0 / 272.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.005324, allocations: 27.91 kB / 272.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.00583, allocations: 0.5916 MB / 273.2 MB, free: 5.633 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.005946, allocations: 67.02 kB / 273.3 MB, free: 5.555 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.005979, allocations: 19.88 kB / 273.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.005989, allocations: 7.938 kB / 273.3 MB, free: 5.523 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.006012, allocations: 45.38 kB / 273.4 MB, free: 5.469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.006013, allocations: 0 / 273.4 MB, free: 5.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004345/0.006448, allocations: 281.9 kB / 273.6 MB, free: 5.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.006478, allocations: 55.34 kB / 273.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.006596, allocations: 213.7 kB / 273.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.006608, allocations: 25.7 kB / 273.9 MB, free: 4.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.006677, allocations: 154.8 kB / 274.1 MB, free: 4.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.006707, allocations: 51.56 kB / 274.1 MB, free: 4.625 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.006758, allocations: 43.3 kB / 274.2 MB, free: 4.574 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.006897, allocations: 0.4923 MB / 274.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.006928, allocations: 19.98 kB / 274.7 MB, free: 4.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/0.006976, allocations: 52.59 kB / 274.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.698e-05/0.007063, allocations: 78.66 kB / 274.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007065, allocations: 0 / 274.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001436/0.007209, allocations: 108.7 kB / 274.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.007222, allocations: 7.938 kB / 274.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.007227, allocations: 3.984 kB / 274.9 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.007237, allocations: 8.094 kB / 274.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.007343, allocations: 31.92 kB / 275 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.007346, allocations: 0 / 275 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.007389, allocations: 8 kB / 275 MB, free: 3.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.007399, allocations: 11.98 kB / 275 MB, free: 3.711 MB / 250.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 7.957e-05/0.007479, allocations: 160.5 kB / 275.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.007511, allocations: 19.91 kB / 275.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.007545, allocations: 16.78 kB / 275.2 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007546, allocations: 0 / 275.2 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.007549, allocations: 7.938 kB / 275.2 MB, free: 3.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007553, allocations: 4 kB / 275.2 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.007958, allocations: 397.5 kB / 275.6 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.00796, allocations: 0 / 275.6 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.008059, allocations: 27.98 kB / 275.6 MB, free: 3.039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.008062, allocations: 3.938 kB / 275.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.008072, allocations: 8 kB / 275.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.008078, allocations: 7.922 kB / 275.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008079, allocations: 4.062 kB / 275.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.008282, allocations: 267.2 kB / 275.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.008297, allocations: 11.91 kB / 275.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.008316, allocations: 7.922 kB / 275.9 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.008386, allocations: 12 kB / 275.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.008423, allocations: 16.02 kB / 275.9 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.008431, allocations: 3.984 kB / 275.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.101e-05/0.008492, allocations: 154.1 kB / 276.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008492, allocations: 0 / 276.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.008733, allocations: 24 kB / 276.1 MB, free: 2.504 MB / 250.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 7.376e-05/0.008807, allocations: 103.2 kB / 276.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.008924, allocations: 55.59 kB / 276.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008926, allocations: 0 / 276.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.008975, allocations: 43.61 kB / 276.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.009303, allocations: 45.77 kB / 276.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.009732, allocations: 301.9 kB / 276.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.785e-05/0.00978, allocations: 71.83 kB / 276.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.761e-05/0.009828, allocations: 17.48 kB / 276.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.009923, allocations: 94.19 kB / 276.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009923, allocations: 0 / 276.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of Templates: time 0.004262/0.01419, allocations: 2.097 MB / 278.9 MB, free: 15.66 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5684962309896946]