Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001632/0.001632, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002047/0.002047, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3159, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003848/0.3197, allocations: 2.033 MB / 434.1 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.321, allocations: 0.7052 MB / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.3211, allocations: 0 / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.3213, allocations: 19.8 kB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.742e-05/0.3213, allocations: 39.64 kB / 434.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.3216, allocations: 55.8 kB / 434.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.3218, allocations: 147.2 kB / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.322, allocations: 29.11 kB / 435.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3221, allocations: 55.84 kB / 435.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3222, allocations: 55.7 kB / 435.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.3222, allocations: 12 kB / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.3223, allocations: 27.98 kB / 435.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.3223, allocations: 27.86 kB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.3224, allocations: 63.61 kB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3226, allocations: 153.4 kB / 435.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3226, allocations: 0 / 435.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3226, allocations: 0 / 435.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3226, allocations: 4 kB / 435.4 MB, free: 3.977 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.0007716/0.3234, allocations: 442.8 kB / 435.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3235, allocations: 12.03 kB / 435.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.3236, allocations: 28.83 kB / 435.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.3239, allocations: 204.2 kB / 436.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.324, allocations: 16.31 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.324, allocations: 8.375 kB / 436.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.3243, allocations: 117.6 kB / 436.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3243, allocations: 3.953 kB / 436.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.3243, allocations: 4 kB / 436.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3243, allocations: 4 kB / 436.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.3246, allocations: 95.86 kB / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.3255, allocations: 491.4 kB / 436.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.3259, allocations: 110.5 kB / 436.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.326, allocations: 52.88 kB / 437 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3261, allocations: 0 / 437 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.3261, allocations: 34.56 kB / 437 MB, free: 2.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 8.91e-07/0.3261, allocations: 0 / 437 MB, free: 2.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001143/0.3272, allocations: 490.1 kB / 437.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.3273, allocations: 55.41 kB / 437.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3274, allocations: 133.4 kB / 437.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3274, allocations: 29.7 kB / 437.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.3275, allocations: 112.2 kB / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.3276, allocations: 51.58 kB / 437.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.3277, allocations: 29.67 kB / 437.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3278, allocations: 334.8 kB / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.328, allocations: 39.97 kB / 438.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.3281, allocations: 82.11 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.3284, allocations: 123.3 kB / 438.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.3284, allocations: 4 kB / 438.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003716/0.3288, allocations: 160.5 kB / 438.6 MB, free: 496 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3288, allocations: 11.94 kB / 438.7 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3288, allocations: 4 kB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3288, allocations: 4 kB / 438.7 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.329, allocations: 43.97 kB / 438.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.329, allocations: 3.984 kB / 438.7 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3291, allocations: 15.94 kB / 438.7 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3291, allocations: 4 kB / 438.7 MB, free: 408 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.0001282/0.3293, allocations: 121.8 kB / 438.8 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3293, allocations: 15.89 kB / 438.9 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.3294, allocations: 16.84 kB / 438.9 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3294, allocations: 0 / 438.9 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3294, allocations: 11.94 kB / 438.9 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3294, allocations: 0 / 438.9 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/0.3302, allocations: 472 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3302, allocations: 0 / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.3304, allocations: 35.97 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3304, allocations: 4.062 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3304, allocations: 8 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3304, allocations: 0 / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3304, allocations: 0 / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.331, allocations: 305 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.3311, allocations: 85.2 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.3311, allocations: 11.98 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3312, allocations: 8.031 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3313, allocations: 15.92 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3313, allocations: 4 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.342e-05/0.3313, allocations: 99.27 kB / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3313, allocations: 0 / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3316, allocations: 36 kB / 439.9 MB, free: 15.06 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.0001296/0.3317, allocations: 107.1 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.3321, allocations: 107.9 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3321, allocations: 4 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.3322, allocations: 56.16 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.3326, allocations: 19.98 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.3337, allocations: 498.1 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3341, allocations: 0.7119 MB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.404e-05/0.3342, allocations: 16.42 kB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.3342, allocations: 15.44 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3342, allocations: 0 / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005198/0.3394, allocations: 1.446 MB / 442.9 MB, free: 12.05 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.521804631687701]