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.001847/0.001847, allocations: 71.75 kB / 21.24 MB, free: 400 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.002214/0.002214, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 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 0.001616/0.001616, allocations: 50.89 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09489, allocations: 53.35 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003003/0.09789, allocations: 1.642 MB / 380.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.09885, allocations: 494.8 kB / 381 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.09894, allocations: 3.938 kB / 381 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.09905, allocations: 19.81 kB / 381 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.782e-05/0.09914, allocations: 27.77 kB / 381.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.09931, allocations: 47.94 kB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.09949, allocations: 115.6 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.0996, allocations: 25.17 kB / 381.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.09966, allocations: 43.86 kB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/0.09975, allocations: 47.64 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.09978, allocations: 8 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.09979, allocations: 11.94 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.09983, allocations: 19.92 kB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.09988, allocations: 35.8 kB / 381.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1, allocations: 95.45 kB / 381.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1, allocations: 0 / 381.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1, allocations: 0 / 381.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1001, allocations: 0 / 381.5 MB, free: 13.04 MB / 350.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.0006327/0.1007, allocations: 353.8 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1007, allocations: 16.02 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1008, allocations: 12.84 kB / 381.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.1011, allocations: 158.2 kB / 382 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1011, allocations: 12.33 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.1011, allocations: 12.12 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.1014, allocations: 128.2 kB / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1015, allocations: 7.984 kB / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1015, allocations: 0 / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.1015, allocations: 11.86 kB / 382.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.1017, allocations: 63.95 kB / 382.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.1024, allocations: 496.5 kB / 382.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.1028, allocations: 126.4 kB / 382.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1029, allocations: 56.81 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.103, allocations: 4 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.103, allocations: 30.56 kB / 383 MB, free: 11.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.103, allocations: 4 kB / 383 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001193/0.1042, allocations: 449.5 kB / 383.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1042, allocations: 55.41 kB / 383.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1044, allocations: 153.4 kB / 383.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1044, allocations: 29.7 kB / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.1045, allocations: 116 kB / 383.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1045, allocations: 43.91 kB / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.1046, allocations: 29.72 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1048, allocations: 326.8 kB / 384.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.1049, allocations: 55.91 kB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.1051, allocations: 87.39 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.1054, allocations: 139.3 kB / 384.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1054, allocations: 0 / 384.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003977/0.1058, allocations: 177.4 kB / 384.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1058, allocations: 4 kB / 384.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1058, allocations: 0 / 384.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1058, allocations: 7.938 kB / 384.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.106, allocations: 35.97 kB / 384.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.106, allocations: 3.938 kB / 384.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.1061, allocations: 20.08 kB / 384.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1061, allocations: 4 kB / 384.7 MB, free: 9.641 MB / 350.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.0001026/0.1062, allocations: 121.8 kB / 384.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.1063, allocations: 11.91 kB / 384.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.1063, allocations: 20.77 kB / 384.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1063, allocations: 3.938 kB / 384.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1063, allocations: 0 / 384.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1063, allocations: 0 / 384.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007554/0.1071, allocations: 427.6 kB / 385.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1071, allocations: 0 / 385.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1072, allocations: 43.91 kB / 385.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1072, allocations: 0 / 385.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1073, allocations: 0 / 385.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1073, allocations: 8.062 kB / 385.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1073, allocations: 0 / 385.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.1079, allocations: 316.9 kB / 385.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.1079, allocations: 19.88 kB / 385.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1079, allocations: 4 kB / 385.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.108, allocations: 19.98 kB / 385.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.1081, allocations: 11.98 kB / 385.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1081, allocations: 4 kB / 385.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.1082, allocations: 111.2 kB / 385.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1082, allocations: 0 / 385.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1084, allocations: 20 kB / 385.8 MB, free: 8.445 MB / 350.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 9.249e-05/0.1085, allocations: 95.34 kB / 385.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.1089, allocations: 132.3 kB / 386 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1089, allocations: 0 / 386 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.1091, allocations: 59.91 kB / 386.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1095, allocations: 50.77 kB / 386.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.1102, allocations: 324.6 kB / 386.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.575e-05/0.1103, allocations: 94.78 kB / 386.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.1103, allocations: 13.48 kB / 386.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.1104, allocations: 16.5 kB / 386.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1104, allocations: 7.938 kB / 386.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of Templates: time 0.005169/0.1155, allocations: 1.841 MB / 388.4 MB, free: 5.797 MB / 350.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/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.252714907051995]