Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001926/0.001926, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002272/0.002272, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.315/2.315, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.663e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002862/0.002889, allocations: 1.65 MB / 273.8 MB, free: 164 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009609/0.003849, allocations: 0.4947 MB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.003915, allocations: 7.938 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.799e-05/0.003993, allocations: 11.86 kB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.864e-05/0.004072, allocations: 35.72 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.004203, allocations: 47.88 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.004387, allocations: 111.6 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.004482, allocations: 21.3 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.00458, allocations: 63.81 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.004663, allocations: 35.84 kB / 274.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.004687, allocations: 8 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.004704, allocations: 8 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.004734, allocations: 23.84 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.004781, allocations: 27.92 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.004941, allocations: 95.61 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.004944, allocations: 0 / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004945, allocations: 0 / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004949, allocations: 0 / 274.8 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.0005916/0.005541, allocations: 357.7 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.005579, allocations: 11.98 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.005647, allocations: 24.84 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.005926, allocations: 158.1 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.005945, allocations: 8.375 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.00598, allocations: 12.33 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.006279, allocations: 132.8 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.006295, allocations: 7.922 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.006307, allocations: 0 / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.006315, allocations: 4 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.006523, allocations: 63.89 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.007267, allocations: 484.6 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.007636, allocations: 130.4 kB / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.007791, allocations: 60.75 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.007804, allocations: 0 / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.007841, allocations: 42.56 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.001e-06/0.007842, allocations: 0 / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.00118/0.009022, allocations: 444.8 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.009066, allocations: 59.41 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.009226, allocations: 156.5 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.009251, allocations: 29.7 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.009339, allocations: 108 kB / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.009379, allocations: 47.58 kB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.009438, allocations: 29.72 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.009635, allocations: 322.8 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.009794, allocations: 51.95 kB / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.009969, allocations: 83.39 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.01029, allocations: 139.2 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01029, allocations: 0 / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004201/0.01071, allocations: 189.4 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01072, allocations: 4 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01073, allocations: 0 / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.01075, allocations: 4 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.01092, allocations: 35.97 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01092, allocations: 0 / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.01101, allocations: 20.02 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.01102, allocations: 8 kB / 278 MB, free: 11.78 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.000112/0.01113, allocations: 121.8 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/0.01161, allocations: 15.91 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.01166, allocations: 20.77 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01166, allocations: 4 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01167, allocations: 0 / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.01168, allocations: 11.86 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.01249, allocations: 423.7 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.0125, allocations: 0 / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.01267, allocations: 39.91 kB / 278.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01267, allocations: 0 / 278.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01269, allocations: 7.938 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01269, allocations: 64 / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01269, allocations: 4 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.01329, allocations: 313.1 kB / 278.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.01332, allocations: 15.94 kB / 278.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.01335, allocations: 7.938 kB / 279 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.01346, allocations: 19.98 kB / 279 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.01352, allocations: 15.92 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.01353, allocations: 7.938 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.01363, allocations: 116.1 kB / 279.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01363, allocations: 0 / 279.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.01388, allocations: 20 kB / 279.1 MB, free: 10.56 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.0001096/0.01399, allocations: 91.25 kB / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.01437, allocations: 131.8 kB / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01437, allocations: 0 / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.01454, allocations: 59.91 kB / 279.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.01493, allocations: 47.89 kB / 279.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.01558, allocations: 307 kB / 279.8 MB, free: 9.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.01569, allocations: 94.78 kB / 279.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.01575, allocations: 13.48 kB / 279.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.0158, allocations: 20.44 kB / 279.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0158, allocations: 4 kB / 279.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of Templates: time 0.0051/0.0209, allocations: 1.852 MB / 281.7 MB, free: 7.926 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.355338549008593]