Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001363/0.001363, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 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.001605/0.001605, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.006e-05, allocations: 6.219 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002881/0.002911, allocations: 1.632 MB / 300.6 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.003843, allocations: 0.4926 MB / 301.1 MB, free: 6.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.003927, allocations: 7.938 kB / 301.1 MB, free: 6.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.004047, allocations: 15.8 kB / 301.1 MB, free: 6.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.004132, allocations: 23.86 kB / 301.1 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.004302, allocations: 51.75 kB / 301.2 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.004504, allocations: 131.5 kB / 301.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.004618, allocations: 9.312 kB / 301.3 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.004727, allocations: 63.81 kB / 301.4 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.004813, allocations: 35.89 kB / 301.4 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.004842, allocations: 8 kB / 301.4 MB, free: 6.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.004862, allocations: 8 kB / 301.4 MB, free: 6.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.004895, allocations: 23.84 kB / 301.4 MB, free: 6.211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.004932, allocations: 23.94 kB / 301.5 MB, free: 6.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.005097, allocations: 99.55 kB / 301.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.005101, allocations: 0 / 301.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005101, allocations: 0 / 301.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.005111, allocations: 4 kB / 301.6 MB, free: 6.086 MB / 286.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.0006164/0.005728, allocations: 361.7 kB / 301.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.005766, allocations: 15.92 kB / 301.9 MB, free: 5.688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.005802, allocations: 12.89 kB / 301.9 MB, free: 5.676 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.006114, allocations: 170 kB / 302.1 MB, free: 5.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.006133, allocations: 8.375 kB / 302.1 MB, free: 5.477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.006165, allocations: 12.38 kB / 302.1 MB, free: 5.465 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.006467, allocations: 124.8 kB / 302.2 MB, free: 5.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.006482, allocations: 7.875 kB / 302.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.006496, allocations: 8 kB / 302.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.006501, allocations: 0 / 302.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.006709, allocations: 67.94 kB / 302.3 MB, free: 5.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006929/0.007402, allocations: 488.5 kB / 302.8 MB, free: 4.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.00778, allocations: 130.4 kB / 302.9 MB, free: 4.594 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.007932, allocations: 52.83 kB / 303 MB, free: 4.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.007946, allocations: 0 / 303 MB, free: 4.539 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.007973, allocations: 42.56 kB / 303 MB, free: 4.488 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/0.007975, allocations: 3.984 kB / 303 MB, free: 4.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001169/0.009144, allocations: 444.9 kB / 303.5 MB, free: 4.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.00919, allocations: 55.41 kB / 303.5 MB, free: 3.949 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.00934, allocations: 154.2 kB / 303.7 MB, free: 3.789 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.00937, allocations: 33.69 kB / 303.7 MB, free: 3.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.009446, allocations: 100.1 kB / 303.8 MB, free: 3.648 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.009488, allocations: 47.58 kB / 303.8 MB, free: 3.602 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.009548, allocations: 38.59 kB / 303.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.009728, allocations: 322.8 kB / 304.2 MB, free: 3.234 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.009893, allocations: 55.95 kB / 304.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.01007, allocations: 83.33 kB / 304.3 MB, free: 3.086 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.0104, allocations: 123.4 kB / 304.5 MB, free: 2.953 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.0104, allocations: 7.938 kB / 304.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004092/0.01081, allocations: 173.5 kB / 304.6 MB, free: 2.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.01082, allocations: 4 kB / 304.6 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01082, allocations: 0 / 304.6 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01084, allocations: 4 kB / 304.6 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.01101, allocations: 40 kB / 304.7 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.01102, allocations: 11.88 kB / 304.7 MB, free: 2.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.01111, allocations: 19.92 kB / 304.7 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01112, allocations: 4 kB / 304.7 MB, free: 2.688 MB / 286.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.0001178/0.01124, allocations: 121.8 kB / 304.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.01128, allocations: 11.91 kB / 304.8 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.01132, allocations: 16.78 kB / 304.9 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01132, allocations: 0 / 304.9 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.01132, allocations: 0 / 304.9 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.01133, allocations: 7.922 kB / 304.9 MB, free: 2.527 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/0.01214, allocations: 427.7 kB / 305.3 MB, free: 2.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01214, allocations: 0 / 305.3 MB, free: 2.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.01231, allocations: 35.92 kB / 305.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.01232, allocations: 8.062 kB / 305.3 MB, free: 2.023 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01234, allocations: 3.938 kB / 305.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.01234, allocations: 3.984 kB / 305.3 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.01234, allocations: 4 kB / 305.3 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.01296, allocations: 309 kB / 305.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.01299, allocations: 11.91 kB / 305.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.01302, allocations: 15.94 kB / 305.7 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.01314, allocations: 12.03 kB / 305.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.0132, allocations: 15.97 kB / 305.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.01321, allocations: 4 kB / 305.7 MB, free: 1.629 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.954e-05/0.0133, allocations: 116.1 kB / 305.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0133, allocations: 0 / 305.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.01356, allocations: 20 kB / 305.8 MB, free: 1.496 MB / 286.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.0001584/0.01372, allocations: 95.23 kB / 305.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.01414, allocations: 127.8 kB / 306.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01414, allocations: 0 / 306.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.01434, allocations: 67.89 kB / 306.1 MB, free: 1.199 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.01484, allocations: 48.42 kB / 306.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.01553, allocations: 307.5 kB / 306.5 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.01564, allocations: 98.77 kB / 306.6 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.01569, allocations: 21.56 kB / 306.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.01574, allocations: 16.5 kB / 306.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01574, allocations: 0 / 306.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of Templates: time 0.005387/0.02113, allocations: 1.863 MB / 308.5 MB, free: 14.79 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 3.9728186167776585]