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.001465/0.001465, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 205.2 kB / 18.74 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.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2811, allocations: 50.55 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003931/0.285, allocations: 1.997 MB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2865, allocations: 0.6974 MB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2867, allocations: 7.938 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.2869, allocations: 15.8 kB / 411.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.287, allocations: 39.64 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.2873, allocations: 51.86 kB / 411.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.2876, allocations: 155.3 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2877, allocations: 29.12 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2878, allocations: 63.72 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.2879, allocations: 51.77 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.288, allocations: 12 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.288, allocations: 31.97 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.2881, allocations: 27.86 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.2882, allocations: 55.73 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.2884, allocations: 154.4 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2884, allocations: 7.938 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2884, allocations: 0 / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2884, allocations: 0 / 412.1 MB, free: 14.14 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.0006896/0.2891, allocations: 442.8 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2892, allocations: 12.03 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.2892, allocations: 38.75 kB / 412.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.2894, allocations: 40.81 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.2898, allocations: 192.2 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2898, allocations: 12.38 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.2898, allocations: 12.12 kB / 412.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.2902, allocations: 121.6 kB / 413 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2902, allocations: 7.891 kB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.2902, allocations: 0 / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.2903, allocations: 11.98 kB / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.2906, allocations: 95.86 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.2916, allocations: 491.4 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.2919, allocations: 122.5 kB / 413.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2921, allocations: 48.88 kB / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.2921, allocations: 0 / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.2921, allocations: 42.5 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.2922, allocations: 0 / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001071/0.2932, allocations: 482.2 kB / 414.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2933, allocations: 51.41 kB / 414.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.2934, allocations: 136.4 kB / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2934, allocations: 25.7 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.2935, allocations: 124.2 kB / 414.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.2936, allocations: 55.5 kB / 414.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.2936, allocations: 33.72 kB / 414.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2938, allocations: 318.8 kB / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2939, allocations: 47.88 kB / 415 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.2941, allocations: 71.34 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.2944, allocations: 123.4 kB / 415.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2944, allocations: 3.938 kB / 415.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003552/0.2947, allocations: 169.5 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2948, allocations: 8 kB / 415.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2948, allocations: 0 / 415.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2948, allocations: 4 kB / 415.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.295, allocations: 35.98 kB / 415.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.295, allocations: 7.938 kB / 415.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.2951, allocations: 7.984 kB / 415.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2951, allocations: 8 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.0001271/0.2953, allocations: 121.8 kB / 415.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.2953, allocations: 23.84 kB / 415.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.2954, allocations: 16.83 kB / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2954, allocations: 4 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2954, allocations: 0 / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2954, allocations: 0 / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/0.2962, allocations: 479.9 kB / 416.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2962, allocations: 0 / 416.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.2964, allocations: 35.98 kB / 416.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.2964, allocations: 4 kB / 416.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2964, allocations: 3.938 kB / 416.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2964, allocations: 7.969 kB / 416.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2964, allocations: 4 kB / 416.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.297, allocations: 316.6 kB / 416.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.297, allocations: 81.06 kB / 416.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.2971, allocations: 4 kB / 416.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.2972, allocations: 12.03 kB / 416.5 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.2973, allocations: 7.984 kB / 416.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.2973, allocations: 8 kB / 416.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.204e-05/0.2974, allocations: 106 kB / 416.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2974, allocations: 0 / 416.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.2976, allocations: 31.94 kB / 416.7 MB, free: 9.148 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.0007812/0.2984, allocations: 0.8389 MB / 417.5 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.2988, allocations: 111.9 kB / 417.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2988, allocations: 4 kB / 417.7 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.299, allocations: 60.91 kB / 417.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2993, allocations: 16 kB / 417.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.3017, allocations: 1.983 MB / 419.7 MB, free: 6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.302, allocations: 0.7158 MB / 420.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.053e-05/0.3021, allocations: 12.64 kB / 420.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.3022, allocations: 39.42 kB / 420.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3022, allocations: 0 / 420.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.3221, allocations: 3.012 MB / 423.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.018, allocations: 0 / 423.5 MB, free: 2.316 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.0.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