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.001018/0.001018, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001145/0.001145, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.9726/0.9726, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773e-06/1.773e-06, allocations: 0 / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.019e-05, allocations: 2.312 kB / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001996/0.002016, allocations: 1.697 MB / 274.7 MB, free: 152 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007929/0.002809, allocations: 0.5064 MB / 275.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.002888, allocations: 3.938 kB / 275.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.002994, allocations: 11.86 kB / 275.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.449e-05/0.003069, allocations: 39.72 kB / 275.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.003222, allocations: 47.94 kB / 275.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.003367, allocations: 111.6 kB / 275.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.003467, allocations: 29.22 kB / 275.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.00354, allocations: 51.83 kB / 275.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.003624, allocations: 35.89 kB / 275.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.003651, allocations: 8 kB / 275.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.651e-05/0.003667, allocations: 8 kB / 275.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.003696, allocations: 23.86 kB / 275.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.003732, allocations: 27.91 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.003855, allocations: 71.69 kB / 275.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.003858, allocations: 3.984 kB / 275.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003859, allocations: 0 / 275.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.003864, allocations: 0 / 275.7 MB, free: 15.17 MB / 266.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.0004763/0.00434, allocations: 448 kB / 276.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.004375, allocations: 12.03 kB / 276.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.004417, allocations: 12.89 kB / 276.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.004589, allocations: 164.9 kB / 276.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.004608, allocations: 16.31 kB / 276.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.004631, allocations: 8.375 kB / 276.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.004799, allocations: 133.2 kB / 276.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.00481, allocations: 3.938 kB / 276.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.004821, allocations: 4 kB / 276.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.004829, allocations: 4 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.345e-05/0.004882, allocations: 26.58 kB / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.005388, allocations: 0.6223 MB / 277.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.005516, allocations: 74.97 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.005557, allocations: 27.67 kB / 277.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.005568, allocations: 4 kB / 277.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.005589, allocations: 41.33 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.005591, allocations: 0 / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006609/0.006252, allocations: 313.6 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.006284, allocations: 55.41 kB / 277.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.006401, allocations: 208.3 kB / 277.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.006415, allocations: 33.7 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.006484, allocations: 154.8 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.006509, allocations: 47.58 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.006549, allocations: 35.38 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.006659, allocations: 0.4923 MB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.006693, allocations: 19.98 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.006744, allocations: 54.73 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.576e-05/0.006829, allocations: 90.3 kB / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.00683, allocations: 4 kB / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001254/0.006956, allocations: 117.5 kB / 278.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006969, allocations: 11.94 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.006974, allocations: 3.984 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.006987, allocations: 4 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.007087, allocations: 31.98 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.007092, allocations: 0 / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.007133, allocations: 15.92 kB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.007141, allocations: 8.078 kB / 279 MB, free: 11.63 MB / 266.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.869e-05/0.00721, allocations: 168.5 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.007232, allocations: 15.91 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.007261, allocations: 20.77 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007263, allocations: 0 / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.007266, allocations: 4 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.00727, allocations: 3.938 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.007599, allocations: 412.7 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.007601, allocations: 12.05 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.00768, allocations: 27.92 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007683, allocations: 4 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.007692, allocations: 3.938 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007693, allocations: 0 / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.007695, allocations: 4 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.007887, allocations: 292.2 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.007898, allocations: 11.91 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.007913, allocations: 3.938 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/0.007958, allocations: 8 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.007999, allocations: 23.91 kB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.008003, allocations: 4 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.984e-05/0.008063, allocations: 155 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008063, allocations: 0 / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.008221, allocations: 20 kB / 280.1 MB, free: 10.38 MB / 266.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 6.245e-05/0.008284, allocations: 95.25 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.008407, allocations: 71.53 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008409, allocations: 4 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.008453, allocations: 43.8 kB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.008706, allocations: 44.09 kB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.009087, allocations: 298 kB / 280.7 MB, free: 9.777 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.009124, allocations: 68 kB / 280.8 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.664e-05/0.009161, allocations: 17.61 kB / 280.8 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.009195, allocations: 16.5 kB / 280.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009196, allocations: 3.938 kB / 280.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of Templates: time 0.003325/0.01252, allocations: 1.861 MB / 282.6 MB, free: 7.84 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.8925942450296134]