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.001468/0.001468, allocations: 88.33 kB / 20.95 MB, free: 3.586 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.001512/0.001512, allocations: 161.6 kB / 24.27 MB, free: 280 kB / 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 1.502/1.502, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 1.913e-06/1.913e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.245e-05, allocations: 6.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003529/0.003561, allocations: 1.667 MB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.004975, allocations: 494.7 kB / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.005129, allocations: 7.938 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.005277, allocations: 15.86 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.005419, allocations: 27.72 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.005663, allocations: 55.81 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.005946, allocations: 111.6 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.006094, allocations: 21.28 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.006236, allocations: 59.83 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.006341, allocations: 35.81 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.006374, allocations: 12 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.025e-05/0.006394, allocations: 8 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.006429, allocations: 19.88 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.006487, allocations: 27.91 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.00669, allocations: 99.56 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.006692, allocations: 0 / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.798e-05/0.00671, allocations: 4 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.006717, allocations: 0 / 274.9 MB, free: 15.18 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.0006996/0.007417, allocations: 345.8 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.007461, allocations: 16.03 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.007536, allocations: 16.84 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.007879, allocations: 162.1 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.007904, allocations: 8.375 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.007945, allocations: 16.31 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.00829, allocations: 124.8 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.008307, allocations: 3.938 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.008326, allocations: 12 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.008332, allocations: 0 / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.008572, allocations: 67.89 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009259/0.009498, allocations: 480.6 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.009946, allocations: 130.4 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.01012, allocations: 56.81 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.01014, allocations: 4 kB / 276.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.01018, allocations: 30.56 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.01018, allocations: 0 / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001338/0.01152, allocations: 448.8 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.01157, allocations: 55.41 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.01177, allocations: 150.2 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.0118, allocations: 33.7 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.0119, allocations: 112 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.01195, allocations: 47.58 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.01201, allocations: 33.7 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.0122, allocations: 322.8 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.01237, allocations: 47.97 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.01257, allocations: 87.31 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.01291, allocations: 127.4 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.01292, allocations: 4 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004482/0.01337, allocations: 189.4 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.01339, allocations: 8 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.0134, allocations: 0 / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.01342, allocations: 0 / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.01362, allocations: 35.97 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.01363, allocations: 7.938 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.79e-05/0.01373, allocations: 19.92 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.01374, allocations: 4 kB / 278.1 MB, free: 11.8 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 0.0001284/0.01387, allocations: 125.9 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.01391, allocations: 15.91 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.01396, allocations: 16.78 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01396, allocations: 0 / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.01397, allocations: 0 / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.01398, allocations: 7.875 kB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009597/0.01494, allocations: 427.7 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01494, allocations: 0 / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.01512, allocations: 39.91 kB / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01512, allocations: 0 / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01514, allocations: 3.938 kB / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01514, allocations: 4 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01514, allocations: 0 / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.01583, allocations: 333.5 kB / 279 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.01585, allocations: 11.91 kB / 279 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.01588, allocations: 11.94 kB / 279.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.01601, allocations: 11.98 kB / 279.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.01607, allocations: 11.98 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.01608, allocations: 3.938 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.0162, allocations: 117.7 kB / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0162, allocations: 4 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.01649, allocations: 20 kB / 279.2 MB, free: 10.59 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 0.0001274/0.01661, allocations: 95.25 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.01702, allocations: 127.9 kB / 279.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01703, allocations: 0 / 279.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.01721, allocations: 59.89 kB / 279.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.01767, allocations: 56.98 kB / 279.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007861/0.01846, allocations: 314.8 kB / 279.9 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.01858, allocations: 102.8 kB / 280 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.225e-05/0.01864, allocations: 9.484 kB / 280 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.0187, allocations: 20.5 kB / 280 MB, free: 9.766 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0187, allocations: 0 / 280 MB, free: 9.766 MB / 266.7 MB Notification: Performance of Templates: time 0.005846/0.02454, allocations: 1.852 MB / 281.8 MB, free: 7.953 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/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: 4.362799805006944]