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.00138/0.00138, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001477/0.001477, allocations: 215.7 kB / 23 MB, free: 5.574 MB / 14.72 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 1.468/1.468, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 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 0.001857/0.001857, allocations: 67.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2608, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003342/0.2641, allocations: 1.698 MB / 431.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2653, allocations: 0.5182 MB / 432 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2654, allocations: 7.938 kB / 432 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.2655, allocations: 11.81 kB / 432 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.2656, allocations: 27.78 kB / 432.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.2658, allocations: 51.86 kB / 432.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.2661, allocations: 115.6 kB / 432.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.2662, allocations: 13.12 kB / 432.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.2663, allocations: 43.84 kB / 432.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.2664, allocations: 47.66 kB / 432.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.2664, allocations: 8 kB / 432.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.114e-05/0.2664, allocations: 8 kB / 432.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.2665, allocations: 27.91 kB / 432.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.2665, allocations: 51.61 kB / 432.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2667, allocations: 96.72 kB / 432.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2667, allocations: 0 / 432.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2667, allocations: 0 / 432.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2667, allocations: 0 / 432.5 MB, free: 4.801 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.0007549/0.2675, allocations: 434.8 kB / 432.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2675, allocations: 12.03 kB / 432.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.2676, allocations: 12.89 kB / 433 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.268, allocations: 224.6 kB / 433.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.268, allocations: 8.375 kB / 433.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.268, allocations: 12.12 kB / 433.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.2683, allocations: 132.2 kB / 433.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2684, allocations: 3.938 kB / 433.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2684, allocations: 0 / 433.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.2684, allocations: 4 kB / 433.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.2686, allocations: 63.94 kB / 433.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.2694, allocations: 0.5477 MB / 433.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.2697, allocations: 122.4 kB / 434.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2699, allocations: 64.81 kB / 434.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2699, allocations: 0 / 434.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.2699, allocations: 34.55 kB / 434.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.2699, allocations: 0 / 434.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001246/0.2712, allocations: 0.5144 MB / 434.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2712, allocations: 55.41 kB / 434.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2714, allocations: 155.4 kB / 434.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2714, allocations: 29.7 kB / 434.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.2715, allocations: 108 kB / 435 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.2716, allocations: 43.64 kB / 435.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.2716, allocations: 33.7 kB / 435.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2718, allocations: 322.8 kB / 435.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2719, allocations: 51.95 kB / 435.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.2721, allocations: 83.42 kB / 435.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.2724, allocations: 139.2 kB / 435.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2724, allocations: 0 / 435.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003775/0.2728, allocations: 180.5 kB / 435.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2728, allocations: 4 kB / 435.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2728, allocations: 8.031 kB / 435.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2728, allocations: 4 kB / 435.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.273, allocations: 39.97 kB / 435.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.273, allocations: 3.938 kB / 435.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.2731, allocations: 11.98 kB / 435.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2731, allocations: 4 kB / 435.9 MB, free: 1.078 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.0001224/0.2732, allocations: 129.8 kB / 436.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.2733, allocations: 11.91 kB / 436.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.2733, allocations: 24.66 kB / 436.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2733, allocations: 0 / 436.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2733, allocations: 0 / 436.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2733, allocations: 3.984 kB / 436.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/0.2741, allocations: 500 kB / 436.6 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2741, allocations: 3.938 kB / 436.6 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.2743, allocations: 31.92 kB / 436.6 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2743, allocations: 4 kB / 436.6 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.2743, allocations: 11.98 kB / 436.6 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2743, allocations: 0 / 436.6 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2743, allocations: 4 kB / 436.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.2749, allocations: 321 kB / 436.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.275, allocations: 89.02 kB / 437 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.2751, allocations: 4 kB / 437 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.2752, allocations: 16.03 kB / 437.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.2752, allocations: 7.984 kB / 437.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2752, allocations: 4 kB / 437.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.605e-05/0.2753, allocations: 118.7 kB / 437.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2753, allocations: 0 / 437.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.2756, allocations: 23.94 kB / 437.2 MB, free: 15.68 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.0001258/0.2757, allocations: 99.19 kB / 437.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.2761, allocations: 131.8 kB / 437.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2761, allocations: 0 / 437.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.2762, allocations: 68.2 kB / 437.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.2766, allocations: 49.36 kB / 437.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.2774, allocations: 323.6 kB / 437.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.2778, allocations: 0.72 MB / 438.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.823e-05/0.2779, allocations: 17.5 kB / 438.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.2779, allocations: 15.44 kB / 438.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2779, allocations: 0 / 438.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Templates: time 0.005502/0.2834, allocations: 1.746 MB / 440.4 MB, free: 12.48 MB / 350.1 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: 4.570875524543226]