Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 109.3 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00243/0.00243, allocations: 188.2 kB / 18.66 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 55.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.1012, allocations: 46.61 MB / 374.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00343/0.1047, allocations: 1.77 MB / 376.4 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1061, allocations: 0.6901 MB / 377.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1063, allocations: 0 / 377.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1065, allocations: 15.86 kB / 377.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1066, allocations: 35.64 kB / 377.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1069, allocations: 47.88 kB / 377.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1072, allocations: 127.4 kB / 377.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1073, allocations: 25.39 kB / 377.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.1074, allocations: 43.8 kB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1075, allocations: 51.78 kB / 377.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1076, allocations: 8 kB / 377.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1077, allocations: 27.97 kB / 377.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.1077, allocations: 23.92 kB / 377.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.1078, allocations: 51.73 kB / 377.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1081, allocations: 135.5 kB / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1081, allocations: 0 / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1081, allocations: 0 / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1081, allocations: 0 / 377.7 MB, free: 2 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000652/0.1088, allocations: 419.1 kB / 378.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.1089, allocations: 8.031 kB / 378.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.1089, allocations: 42.75 kB / 378.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.1091, allocations: 24.88 kB / 378.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1094, allocations: 192.2 kB / 378.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1095, allocations: 12.5 kB / 378.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.1095, allocations: 16.08 kB / 378.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.1097, allocations: 97.59 kB / 378.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1097, allocations: 0 / 378.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1098, allocations: 7.984 kB / 378.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1098, allocations: 4 kB / 378.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1099, allocations: 63.91 kB / 378.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007421/0.1107, allocations: 443.7 kB / 379 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.111, allocations: 106.6 kB / 379.1 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.1111, allocations: 28.86 kB / 379.1 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1111, allocations: 3.938 kB / 379.1 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1111, allocations: 34.56 kB / 379.1 MB, free: 360 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1111, allocations: 0 / 379.1 MB, free: 360 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.191/0.3021, allocations: 0.5263 MB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.3022, allocations: 52.41 kB / 379.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.3023, allocations: 123.1 kB / 379.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3023, allocations: 28.88 kB / 379.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.3023, allocations: 110.8 kB / 380 MB, free: 12.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.3024, allocations: 46.72 kB / 380 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.3024, allocations: 32.33 kB / 380.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.3025, allocations: 320.4 kB / 380.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.3026, allocations: 32.95 kB / 380.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/0.3026, allocations: 55.56 kB / 380.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3028, allocations: 100.7 kB / 380.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3028, allocations: 1.375 kB / 380.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002089/0.303, allocations: 131 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.303, allocations: 9.625 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.303, allocations: 4.938 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3031, allocations: 1.375 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3032, allocations: 32.67 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3032, allocations: 2.188 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.3033, allocations: 7.406 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3033, allocations: 7.5 kB / 380.7 MB, free: 12.14 MB / 318.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 (17): * Single equations (assignments): 17 * 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 7.297e-05/0.3034, allocations: 129 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.3034, allocations: 12.97 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.3035, allocations: 17.22 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3035, allocations: 4.688 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.3035, allocations: 1.781 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3035, allocations: 0.9375 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.3041, allocations: 427.2 kB / 381.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3041, allocations: 0.5312 kB / 381.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3042, allocations: 29.78 kB / 381.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3042, allocations: 1.375 kB / 381.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3043, allocations: 6.641 kB / 381.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3043, allocations: 2.031 kB / 381.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3043, allocations: 0 / 381.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3045, allocations: 258.8 kB / 381.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.3046, allocations: 88.25 kB / 381.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.3046, allocations: 4.859 kB / 381.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.3047, allocations: 5.469 kB / 381.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.3047, allocations: 6.469 kB / 381.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.3047, allocations: 2.75 kB / 381.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.366e-05/0.3048, allocations: 99.84 kB / 381.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3048, allocations: 0 / 381.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.3051, allocations: 25.5 kB / 381.8 MB, free: 11.36 MB / 318.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 (12): * Single equations (assignments): 12 * 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.0004044/0.3055, allocations: 0.7831 MB / 382.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.3057, allocations: 86.45 kB / 382.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3057, allocations: 0 / 382.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.869e-05/0.3058, allocations: 47.34 kB / 382.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3061, allocations: 14.83 kB / 382.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3079, allocations: 1.819 MB / 384.6 MB, free: 9.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.3081, allocations: 0.7019 MB / 385.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.922e-05/0.3081, allocations: 12.3 kB / 385.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.3082, allocations: 29.3 kB / 385.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3082, allocations: 0 / 385.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.3366, allocations: 2.584 MB / 387.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.539, allocations: 13.14 kB / 387.9 MB, free: 7.953 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches