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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.00133, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002535/0.002535, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3995, allocations: 50.54 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.005161/0.4047, allocations: 2.001 MB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.4064, allocations: 0.6896 MB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.4065, allocations: 4 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.4067, allocations: 19.78 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.4068, allocations: 47.64 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.4072, allocations: 51.8 kB / 411.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.4075, allocations: 147.3 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.4077, allocations: 33.09 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.4078, allocations: 59.72 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.408, allocations: 51.78 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.408, allocations: 12 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.4081, allocations: 35.97 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.4082, allocations: 27.86 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.4083, allocations: 59.72 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.4086, allocations: 146.4 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4087, allocations: 0 / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4087, allocations: 0 / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4087, allocations: 0 / 412.1 MB, free: 14.15 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.0009361/0.4096, allocations: 450.8 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4097, allocations: 12.03 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.165e-05/0.4098, allocations: 42.73 kB / 412.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.4101, allocations: 32.83 kB / 412.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.4104, allocations: 192.2 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4105, allocations: 8.375 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.4105, allocations: 20.11 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.411, allocations: 125.5 kB / 413 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.411, allocations: 3.953 kB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.411, allocations: 0 / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.4111, allocations: 7.984 kB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.4115, allocations: 95.81 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.4128, allocations: 495.4 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.4133, allocations: 118.6 kB / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.4135, allocations: 44.84 kB / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4136, allocations: 3.984 kB / 413.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.4136, allocations: 46.5 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.964e-06/0.4136, allocations: 0 / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001599/0.4153, allocations: 485.6 kB / 414.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.4153, allocations: 55.41 kB / 414.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.4155, allocations: 136.6 kB / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.4156, allocations: 25.7 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.4157, allocations: 120.2 kB / 414.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.4158, allocations: 51.52 kB / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.4159, allocations: 33.7 kB / 414.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4161, allocations: 322.8 kB / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.4163, allocations: 47.88 kB / 415 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.4165, allocations: 78.05 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.417, allocations: 123.3 kB / 415.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.417, allocations: 4 kB / 415.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005561/0.4176, allocations: 165.5 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4176, allocations: 4 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4176, allocations: 0 / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.4177, allocations: 4 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.418, allocations: 43.91 kB / 415.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.418, allocations: 4 kB / 415.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.4182, allocations: 12.05 kB / 415.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.4182, allocations: 12 kB / 415.5 MB, free: 10.5 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: 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.000158/0.4184, allocations: 121.8 kB / 415.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.4185, allocations: 19.84 kB / 415.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.4185, allocations: 12.84 kB / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4186, allocations: 4 kB / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4186, allocations: 0 / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4186, allocations: 3.984 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.4198, allocations: 464 kB / 416.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4198, allocations: 3.984 kB / 416.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.4201, allocations: 39.92 kB / 416.1 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.4201, allocations: 7.938 kB / 416.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.4202, allocations: 0 / 416.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4202, allocations: 0 / 416.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4202, allocations: 8.062 kB / 416.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.421, allocations: 301 kB / 416.4 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.4211, allocations: 89.09 kB / 416.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.4212, allocations: 8 kB / 416.5 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4214, allocations: 8 kB / 416.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.4215, allocations: 11.92 kB / 416.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.4215, allocations: 4 kB / 416.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.4216, allocations: 109.5 kB / 416.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4216, allocations: 0 / 416.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.4221, allocations: 31.94 kB / 416.7 MB, free: 9.16 MB / 334.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.001199/0.4233, allocations: 0.8431 MB / 417.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.4238, allocations: 111.9 kB / 417.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4239, allocations: 0 / 417.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.4241, allocations: 59.91 kB / 417.7 MB, free: 8.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.4247, allocations: 24.19 kB / 417.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.4283, allocations: 1.984 MB / 419.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.4288, allocations: 0.7119 MB / 420.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.963e-05/0.4289, allocations: 8.656 kB / 420.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.429, allocations: 39.42 kB / 420.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.429, allocations: 0 / 420.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.4563, allocations: 3.014 MB / 423.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.429, allocations: 8 kB / 423.5 MB, free: 2.32 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/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) "Error: Could not read variable eddyCurrentForce.lossPower in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentForce.lossPower from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! " Variables in the reference:time,mass.s,heatCapacitor.T,eddyCurrentForce.lossPower Variables in the result:time,heatCapacitor.T,mass.s,mass.v