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.001608/0.001608, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 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.001779/0.001779, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.961 MB / 206.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.00152/0.00152, allocations: 51.92 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2609, allocations: 53.35 MB / 432.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00301/0.2639, allocations: 1.71 MB / 434.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.265, allocations: 0.526 MB / 434.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.2651, allocations: 3.938 kB / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.2652, allocations: 15.8 kB / 434.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.822e-05/0.2653, allocations: 27.8 kB / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.2655, allocations: 47.88 kB / 434.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.2657, allocations: 111.6 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2658, allocations: 21.23 kB / 434.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.2658, allocations: 43.8 kB / 434.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.2659, allocations: 55.69 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.266, allocations: 8 kB / 434.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.266, allocations: 8 kB / 435 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.266, allocations: 23.92 kB / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.2661, allocations: 43.69 kB / 435 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2662, allocations: 104.7 kB / 435.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2662, allocations: 0 / 435.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2662, allocations: 0 / 435.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2663, allocations: 0 / 435.1 MB, free: 4.148 MB / 334.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.0006105/0.2669, allocations: 353.8 kB / 435.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2669, allocations: 12.03 kB / 435.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.2669, allocations: 12.84 kB / 435.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.2672, allocations: 156.5 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2673, allocations: 8.359 kB / 435.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.2673, allocations: 20.08 kB / 435.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.2676, allocations: 130.8 kB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2676, allocations: 0 / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.2676, allocations: 8 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2676, allocations: 0 / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.2678, allocations: 67.89 kB / 435.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.2686, allocations: 0.5195 MB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.2689, allocations: 130.4 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.269, allocations: 52.83 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.2691, allocations: 0 / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2691, allocations: 30.56 kB / 436.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.2691, allocations: 4 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001095/0.2702, allocations: 453.6 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2702, allocations: 51.5 kB / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.2704, allocations: 163.5 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.2704, allocations: 29.7 kB / 437.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.2705, allocations: 116 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.2705, allocations: 47.58 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.2706, allocations: 25.72 kB / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2707, allocations: 322.8 kB / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2709, allocations: 55.95 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.2711, allocations: 85.89 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.2714, allocations: 134.3 kB / 438.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2714, allocations: 0 / 438.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000371/0.2717, allocations: 181.4 kB / 438.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2717, allocations: 12.09 kB / 438.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2717, allocations: 7.938 kB / 438.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2718, allocations: 0 / 438.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.2719, allocations: 39.97 kB / 438.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.2719, allocations: 4 kB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.285e-05/0.272, allocations: 11.98 kB / 438.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.272, allocations: 7.938 kB / 438.3 MB, free: 0.7148 MB / 334.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.00011/0.2721, allocations: 121.8 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.2722, allocations: 15.91 kB / 438.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.2722, allocations: 24.64 kB / 438.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2722, allocations: 4 kB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2722, allocations: 0 / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2722, allocations: 0 / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.273, allocations: 467 kB / 438.9 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.273, allocations: 0 / 438.9 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.2732, allocations: 36.03 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2732, allocations: 0 / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2732, allocations: 4 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2732, allocations: 4 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2732, allocations: 3.984 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.2737, allocations: 320.9 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.2737, allocations: 15.91 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.2738, allocations: 4 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2739, allocations: 16.12 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.274, allocations: 15.95 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.274, allocations: 3.984 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.976e-05/0.2741, allocations: 111.3 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2741, allocations: 0 / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.2743, allocations: 20 kB / 439.5 MB, free: 15.46 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.0001054/0.2744, allocations: 111.4 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.2748, allocations: 119.8 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2748, allocations: 3.938 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.2749, allocations: 68.2 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.2753, allocations: 36.12 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.276, allocations: 338 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2763, allocations: 0.7161 MB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.2763, allocations: 15.44 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2763, allocations: 0 / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of Templates: time 0.003674/0.28, allocations: 1.707 MB / 442.6 MB, free: 12.3 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 -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: 6.805362195009366]