Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.001334/0.001334, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001559/0.001559, allocations: 217 kB / 24.5 MB, free: 4.133 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.522/1.522, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.89 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3007, allocations: 53.4 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003744/0.3044, allocations: 2.034 MB / 434.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3057, allocations: 0.6935 MB / 435.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.928e-05/0.3058, allocations: 7.938 kB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.3059, allocations: 19.78 kB / 435.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.665e-05/0.306, allocations: 47.58 kB / 435.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.3063, allocations: 63.78 kB / 435.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.3065, allocations: 143.3 kB / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3066, allocations: 21.3 kB / 435.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.3068, allocations: 55.78 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3069, allocations: 59.77 kB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.3069, allocations: 15.94 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.307, allocations: 27.98 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.307, allocations: 23.86 kB / 435.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.3071, allocations: 63.72 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.3074, allocations: 148.6 kB / 435.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3074, allocations: 4 kB / 435.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3074, allocations: 0 / 435.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3074, allocations: 0 / 435.8 MB, free: 3.344 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.0007651/0.3082, allocations: 369.7 kB / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3082, allocations: 12.03 kB / 436.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.3084, allocations: 28.83 kB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.3087, allocations: 146.3 kB / 436.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3087, allocations: 8.375 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.3087, allocations: 8.375 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.309, allocations: 118.2 kB / 436.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.309, allocations: 3.953 kB / 436.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3091, allocations: 4 kB / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3091, allocations: 4 kB / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.3093, allocations: 95.92 kB / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.3103, allocations: 462.4 kB / 437.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.3106, allocations: 118.5 kB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.3109, allocations: 48.83 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3109, allocations: 3.984 kB / 437.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3109, allocations: 34.56 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.3109, allocations: 0 / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001059/0.312, allocations: 417.2 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.312, allocations: 51.41 kB / 437.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3122, allocations: 136.9 kB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3122, allocations: 25.7 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.3123, allocations: 120.1 kB / 438 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.3123, allocations: 51.58 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3124, allocations: 37.66 kB / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.3126, allocations: 326.8 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.3128, allocations: 39.97 kB / 438.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.3129, allocations: 77.81 kB / 438.5 MB, free: 448 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.3132, allocations: 127.3 kB / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3132, allocations: 4 kB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000349/0.3136, allocations: 157.5 kB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3136, allocations: 11.94 kB / 438.8 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3136, allocations: 4.062 kB / 438.8 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3136, allocations: 0 / 438.8 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.3138, allocations: 47.91 kB / 438.9 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3138, allocations: 0 / 438.9 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.3139, allocations: 11.98 kB / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3139, allocations: 4 kB / 438.9 MB, free: 60 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.0001327/0.314, allocations: 125.8 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.3141, allocations: 11.89 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.3141, allocations: 20.78 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3141, allocations: 3.938 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3141, allocations: 4 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.3141, allocations: 3.984 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.3149, allocations: 443.2 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3149, allocations: 4.062 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.3151, allocations: 39.97 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3151, allocations: 0 / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3151, allocations: 4 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3151, allocations: 0 / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3151, allocations: 3.938 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.3158, allocations: 301 kB / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3158, allocations: 11.95 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3158, allocations: 4 kB / 439.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3159, allocations: 12.03 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.316, allocations: 7.984 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.316, allocations: 4 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.03e-05/0.3161, allocations: 107.2 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3161, allocations: 0 / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3163, allocations: 28 kB / 440 MB, free: 14.86 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.0001237/0.3165, allocations: 103.1 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3168, allocations: 119.2 kB / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3168, allocations: 0 / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.3169, allocations: 60.03 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3173, allocations: 30.91 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/0.3182, allocations: 0.5121 MB / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.3186, allocations: 0.7119 MB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.3186, allocations: 11.44 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3186, allocations: 4 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of Templates: time 0.003748/0.3223, allocations: 1.687 MB / 443.2 MB, free: 11.57 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.098833856871352]