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.00198/0.00198, allocations: 105.3 kB / 17.58 MB, free: 5.445 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.003111/0.003111, allocations: 191.9 kB / 18.51 MB, free: 4.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.519/2.519, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001658/0.001658, allocations: 56.14 kB / 280.7 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1792, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.007674/0.1869, allocations: 1.766 MB / 329.1 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1891, allocations: 0.6795 MB / 329.8 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.1894, allocations: 7.875 kB / 329.8 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.1896, allocations: 15.86 kB / 329.9 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.1898, allocations: 39.69 kB / 329.9 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1902, allocations: 43.81 kB / 329.9 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.1906, allocations: 123.4 kB / 330.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.1908, allocations: 33.39 kB / 330.1 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.191, allocations: 47.78 kB / 330.1 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1911, allocations: 47.78 kB / 330.2 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.1912, allocations: 8 kB / 330.2 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.1914, allocations: 24 kB / 330.2 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.1914, allocations: 19.92 kB / 330.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1916, allocations: 47.73 kB / 330.3 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1919, allocations: 135.8 kB / 330.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1919, allocations: 0 / 330.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.192, allocations: 4 kB / 330.4 MB, free: 1.312 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.192, allocations: 0 / 330.4 MB, free: 1.312 MB / 270.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.0009842/0.193, allocations: 411.3 kB / 330.8 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.193, allocations: 8.031 kB / 330.8 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.215e-05/0.1931, allocations: 38.75 kB / 330.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.1935, allocations: 24.83 kB / 330.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1939, allocations: 200.1 kB / 331.1 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.194, allocations: 4.562 kB / 331.1 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.194, allocations: 16.12 kB / 331.1 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.1944, allocations: 89.66 kB / 331.2 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.1944, allocations: 0 / 331.2 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1945, allocations: 4 kB / 331.2 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.1945, allocations: 3.984 kB / 331.2 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.1948, allocations: 75.83 kB / 331.3 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.196, allocations: 439.7 kB / 331.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.1966, allocations: 98.58 kB / 331.8 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1968, allocations: 37.06 kB / 331.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1968, allocations: 7.938 kB / 331.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.1969, allocations: 34.56 kB / 331.9 MB, free: 15.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.1969, allocations: 0 / 331.9 MB, free: 15.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.002679/0.1996, allocations: 0.5348 MB / 332.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.1997, allocations: 55.34 kB / 332.5 MB, free: 15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.1999, allocations: 122 kB / 332.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.2, allocations: 25.7 kB / 332.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.2002, allocations: 111.8 kB / 332.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.734e-05/0.2003, allocations: 51.28 kB / 332.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.2005, allocations: 37.7 kB / 332.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0004132/0.2009, allocations: 322.8 kB / 333.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2011, allocations: 20 kB / 333.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.2013, allocations: 59.41 kB / 333.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.2016, allocations: 95.38 kB / 333.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2016, allocations: 0 / 333.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000461/0.2021, allocations: 129.5 kB / 333.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.2022, allocations: 11.28 kB / 333.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.2022, allocations: 0 / 333.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/0.2023, allocations: 0 / 333.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.2026, allocations: 39.92 kB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/0.2026, allocations: 3.938 kB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2028, allocations: 0 / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.2028, allocations: 12.06 kB / 333.5 MB, free: 13.91 MB / 286.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 0.0002055/0.203, allocations: 125.8 kB / 333.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.2031, allocations: 7.906 kB / 333.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.447e-05/0.2032, allocations: 12.38 kB / 333.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.2032, allocations: 4 kB / 333.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.2033, allocations: 7.938 kB / 333.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2033, allocations: 0 / 333.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.2045, allocations: 424.1 kB / 334 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.2046, allocations: 7.922 kB / 334.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.2049, allocations: 24.05 kB / 334.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.2049, allocations: 7.922 kB / 334.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.205, allocations: 7.984 kB / 334.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.205, allocations: 0 / 334.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.205, allocations: 0 / 334.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.2057, allocations: 253.1 kB / 334.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.2058, allocations: 88.95 kB / 334.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.2058, allocations: 4.031 kB / 334.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.206, allocations: 4 kB / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.2061, allocations: 8 kB / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.2061, allocations: 96 / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.2063, allocations: 103.2 kB / 334.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2063, allocations: 0 / 334.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005103/0.2068, allocations: 24 kB / 334.6 MB, free: 12.71 MB / 286.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.00107/0.2079, allocations: 0.7854 MB / 335.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.2083, allocations: 91.89 kB / 335.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2083, allocations: 0 / 335.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.2084, allocations: 43.92 kB / 335.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007127/0.2092, allocations: 17.52 kB / 335.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.2129, allocations: 1.816 MB / 337.3 MB, free: 9.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.2135, allocations: 0.7079 MB / 338 MB, free: 9.086 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.2136, allocations: 12.88 kB / 338 MB, free: 9.074 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.2138, allocations: 27.42 kB / 338.1 MB, free: 9.047 MB / 286.1 MB Notification: Performance of SimCode: time 1.243e-06/0.2138, allocations: 0 / 338.1 MB, free: 9.047 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.2466, allocations: 2.526 MB / 340.6 MB, free: 6.465 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.83, allocations: 11.66 kB / 340.6 MB, free: 6.453 MB / 286.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