Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.001367/0.001367, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001537/0.001537, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 47.92 kB / 378.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2865, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003503/0.29, allocations: 1.956 MB / 433.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2912, allocations: 0.639 MB / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.2913, allocations: 3.938 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.2915, allocations: 19.8 kB / 434.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.2916, allocations: 47.62 kB / 434.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2918, allocations: 47.86 kB / 434.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.292, allocations: 143.3 kB / 434.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2922, allocations: 25.28 kB / 434.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.2923, allocations: 55.8 kB / 434.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2924, allocations: 51.7 kB / 434.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.2924, allocations: 12 kB / 434.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.932e-05/0.2925, allocations: 27.98 kB / 434.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.2925, allocations: 31.91 kB / 434.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.2926, allocations: 51.73 kB / 434.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2929, allocations: 145.7 kB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2929, allocations: 7.938 kB / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2929, allocations: 0 / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2929, allocations: 0 / 434.8 MB, free: 3.48 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007334/0.2936, allocations: 377.6 kB / 435.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2936, allocations: 15.97 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.2938, allocations: 28.83 kB / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.2941, allocations: 138.4 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2941, allocations: 4.375 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.2941, allocations: 16.31 kB / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.2944, allocations: 117.6 kB / 435.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2945, allocations: 7.953 kB / 435.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2945, allocations: 4 kB / 435.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.2945, allocations: 8 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.2948, allocations: 87.92 kB / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.2956, allocations: 403.1 kB / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.2959, allocations: 122.4 kB / 436.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.2961, allocations: 48.88 kB / 436.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2961, allocations: 3.984 kB / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.2961, allocations: 34.56 kB / 436.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.2961, allocations: 0 / 436.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001103/0.2972, allocations: 405 kB / 436.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.2973, allocations: 59.41 kB / 436.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2974, allocations: 130.2 kB / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2974, allocations: 33.7 kB / 436.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.2975, allocations: 116.2 kB / 436.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.2976, allocations: 55.52 kB / 437 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.2976, allocations: 29.72 kB / 437 MB, free: 1.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2978, allocations: 322.8 kB / 437.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.2979, allocations: 47.88 kB / 437.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.2981, allocations: 79.33 kB / 437.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.2984, allocations: 122.4 kB / 437.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2984, allocations: 0 / 437.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003713/0.2987, allocations: 169.5 kB / 437.7 MB, free: 336 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2987, allocations: 4 kB / 437.7 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2988, allocations: 3.938 kB / 437.8 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2988, allocations: 8.062 kB / 437.8 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.299, allocations: 31.98 kB / 437.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.299, allocations: 7.938 kB / 437.8 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.946e-05/0.2991, allocations: 15.92 kB / 437.8 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2991, allocations: 4 kB / 437.8 MB, free: 260 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001057/0.2992, allocations: 117.8 kB / 437.9 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.2992, allocations: 15.91 kB / 437.9 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.2993, allocations: 28.7 kB / 438 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2993, allocations: 4 kB / 438 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2993, allocations: 7.938 kB / 438 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2993, allocations: 0 / 438 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.3, allocations: 391.7 kB / 438.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3, allocations: 4 kB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3002, allocations: 31.98 kB / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3002, allocations: 4 kB / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3002, allocations: 64 / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3002, allocations: 8 kB / 438.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3002, allocations: 3.984 kB / 438.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.3008, allocations: 312.9 kB / 438.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.3008, allocations: 7.953 kB / 438.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.3008, allocations: 4 kB / 438.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.301, allocations: 12.03 kB / 438.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.301, allocations: 7.984 kB / 438.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.301, allocations: 8 kB / 438.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.589e-05/0.3011, allocations: 102 kB / 438.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3011, allocations: 0 / 438.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3014, allocations: 28 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (13): * Single equations (assignments): 13 * 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.0001153/0.3015, allocations: 103.2 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.3018, allocations: 111.9 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3018, allocations: 128 / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.302, allocations: 59.91 kB / 439.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3023, allocations: 28.16 kB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/0.3032, allocations: 494.7 kB / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.3033, allocations: 102.3 kB / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.3034, allocations: 12.42 kB / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.3035, allocations: 19.38 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3035, allocations: 4 kB / 439.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of Templates: time 0.004689/0.3081, allocations: 1.559 MB / 441.4 MB, free: 12.61 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.414594080299139]