Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 249.8 MB, free: 3.578 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 47.92 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09167, allocations: 52.13 MB / 418.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002788/0.09445, allocations: 1.69 MB / 420.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008055/0.09526, allocations: 494.7 kB / 421.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.432e-05/0.09533, allocations: 4 kB / 421.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.09544, allocations: 11.86 kB / 421.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.843e-05/0.09552, allocations: 35.72 kB / 421.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.09567, allocations: 39.95 kB / 421.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.09585, allocations: 123.6 kB / 421.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.09595, allocations: 25.09 kB / 421.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.09601, allocations: 35.8 kB / 421.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.0961, allocations: 51.7 kB / 421.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.09612, allocations: 8 kB / 421.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.09614, allocations: 12 kB / 421.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.09618, allocations: 19.92 kB / 421.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.09623, allocations: 47.67 kB / 421.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.09638, allocations: 99.44 kB / 421.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09638, allocations: 0 / 421.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09638, allocations: 0 / 421.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.09639, allocations: 0 / 421.6 MB, free: 9.406 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.0005997/0.09699, allocations: 430.8 kB / 422 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.09702, allocations: 12.03 kB / 422 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.09707, allocations: 16.84 kB / 422.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.09736, allocations: 220.4 kB / 422.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.09738, allocations: 8 kB / 422.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.09741, allocations: 12 kB / 422.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.0977, allocations: 134 kB / 422.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.09771, allocations: 4 kB / 422.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.09772, allocations: 7.984 kB / 422.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.09773, allocations: 0 / 422.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.09793, allocations: 67.89 kB / 422.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.09863, allocations: 0.5477 MB / 423.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.09898, allocations: 126.4 kB / 423.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.09913, allocations: 56.81 kB / 423.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.09915, allocations: 4 kB / 423.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.09918, allocations: 38.5 kB / 423.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.09918, allocations: 0 / 423.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001174/0.1004, allocations: 0.5097 MB / 423.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.1004, allocations: 55.41 kB / 423.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1006, allocations: 150.2 kB / 424 MB, free: 6.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1006, allocations: 29.7 kB / 424 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.1007, allocations: 116 kB / 424.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1007, allocations: 39.64 kB / 424.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1007, allocations: 37.7 kB / 424.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1009, allocations: 322.8 kB / 424.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.101, allocations: 47.97 kB / 424.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1012, allocations: 93.66 kB / 424.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.1015, allocations: 135.2 kB / 424.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1015, allocations: 0.9375 kB / 424.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003812/0.1019, allocations: 181.3 kB / 425 MB, free: 5.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1019, allocations: 4 kB / 425 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1019, allocations: 4.094 kB / 425 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1019, allocations: 7.938 kB / 425 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1021, allocations: 35.97 kB / 425 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1021, allocations: 0 / 425 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-05/0.1022, allocations: 19.92 kB / 425 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1022, allocations: 4 kB / 425 MB, free: 5.676 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.0001049/0.1023, allocations: 129.8 kB / 425.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.1023, allocations: 15.83 kB / 425.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.1024, allocations: 16.72 kB / 425.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1024, allocations: 0 / 425.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1024, allocations: 0 / 425.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1024, allocations: 0 / 425.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.1032, allocations: 0.4999 MB / 425.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1032, allocations: 0 / 425.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.1033, allocations: 35.91 kB / 425.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.1033, allocations: 4 kB / 425.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1034, allocations: 0 / 425.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1034, allocations: 0 / 425.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1034, allocations: 4 kB / 425.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005629/0.1039, allocations: 329 kB / 426.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.104, allocations: 85.06 kB / 426.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.104, allocations: 8 kB / 426.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1041, allocations: 15.97 kB / 426.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1042, allocations: 15.92 kB / 426.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1042, allocations: 4 kB / 426.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.433e-05/0.1042, allocations: 115.5 kB / 426.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1042, allocations: 0 / 426.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1045, allocations: 20 kB / 426.3 MB, free: 4.281 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 0.0001113/0.1046, allocations: 111.7 kB / 426.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.105, allocations: 123.8 kB / 426.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.105, allocations: 0 / 426.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1051, allocations: 56.22 kB / 426.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1055, allocations: 56.09 kB / 426.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.1062, allocations: 353.8 kB / 427 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1065, allocations: 0.7084 MB / 427.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.1065, allocations: 19.44 kB / 427.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1065, allocations: 0 / 427.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Templates: time 0.003405/0.1099, allocations: 1.709 MB / 429.4 MB, free: 1.098 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.479581769788638]