Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_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.001734/0.001734, allocations: 107.6 kB / 16.92 MB, free: 5.668 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.002089/0.002089, allocations: 189.4 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.332/2.332, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 43.53 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2052, allocations: 49.45 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.006688/0.212, allocations: 1.772 MB / 351.9 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.2138, allocations: 0.6465 MB / 352.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.2141, allocations: 0 / 352.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.2143, allocations: 19.8 kB / 352.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.2145, allocations: 31.7 kB / 352.6 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.215, allocations: 55.8 kB / 352.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.2154, allocations: 119.4 kB / 352.8 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2156, allocations: 29.38 kB / 352.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2157, allocations: 39.86 kB / 352.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.2159, allocations: 47.78 kB / 352.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.216, allocations: 8 kB / 352.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.2162, allocations: 31.92 kB / 353 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.2162, allocations: 23.91 kB / 353 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.2163, allocations: 51.73 kB / 353 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.2167, allocations: 131.9 kB / 353.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2168, allocations: 0 / 353.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.2168, allocations: 0 / 353.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.2168, allocations: 0 / 353.2 MB, free: 1.316 MB / 286.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.001091/0.2179, allocations: 403.4 kB / 353.5 MB, free: 0.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.589e-05/0.218, allocations: 8.031 kB / 353.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/0.2181, allocations: 46.73 kB / 353.6 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.2184, allocations: 32.73 kB / 353.6 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.2188, allocations: 196.2 kB / 353.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2188, allocations: 8.562 kB / 353.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.2189, allocations: 20.03 kB / 353.9 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.2192, allocations: 88.47 kB / 353.9 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.2193, allocations: 0 / 353.9 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.2193, allocations: 8 kB / 353.9 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.2193, allocations: 0 / 353.9 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.2196, allocations: 67.83 kB / 354 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2207, allocations: 451.6 kB / 354.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.2211, allocations: 102.6 kB / 354.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.2212, allocations: 36.84 kB / 354.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.2213, allocations: 0 / 354.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.2213, allocations: 38.55 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.2213, allocations: 0 / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002021/0.2234, allocations: 0.5382 MB / 355.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.2235, allocations: 51.41 kB / 355.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.2236, allocations: 123.1 kB / 355.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2236, allocations: 29.7 kB / 355.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2238, allocations: 107.7 kB / 355.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.2238, allocations: 47.45 kB / 355.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.2239, allocations: 29.7 kB / 355.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2241, allocations: 322.8 kB / 355.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2242, allocations: 27.89 kB / 355.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2244, allocations: 58.39 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.2246, allocations: 108.2 kB / 356.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2246, allocations: 0 / 356.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003144/0.225, allocations: 125.5 kB / 356.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.225, allocations: 8 kB / 356.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.225, allocations: 3.938 kB / 356.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.225, allocations: 0 / 356.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.2253, allocations: 35.92 kB / 356.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.2253, allocations: 3.938 kB / 356.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.621e-05/0.2254, allocations: 8.062 kB / 356.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2254, allocations: 4 kB / 356.2 MB, free: 13.91 MB / 302.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.0001543/0.2256, allocations: 125.8 kB / 356.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.2256, allocations: 7.906 kB / 356.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.439e-05/0.2257, allocations: 16.36 kB / 356.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.2257, allocations: 4 kB / 356.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2258, allocations: 7.875 kB / 356.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2258, allocations: 0 / 356.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.2266, allocations: 420.2 kB / 356.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2266, allocations: 3.938 kB / 356.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.2269, allocations: 31.92 kB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.2269, allocations: 3.938 kB / 356.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.2269, allocations: 8 kB / 356.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2269, allocations: 0 / 356.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2269, allocations: 0 / 356.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.2274, allocations: 257.1 kB / 357.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.2275, allocations: 88.95 kB / 357.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.2275, allocations: 0 / 357.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.2277, allocations: 12 kB / 357.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.2277, allocations: 8.031 kB / 357.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.2277, allocations: 4 kB / 357.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.879e-05/0.2278, allocations: 102.3 kB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.226e-06/0.2279, allocations: 0 / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.2283, allocations: 23.94 kB / 357.3 MB, free: 12.69 MB / 302.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.0008238/0.2292, allocations: 0.7955 MB / 358.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.2295, allocations: 83.98 kB / 358.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2295, allocations: 3.938 kB / 358.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.2296, allocations: 39.92 kB / 358.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.2303, allocations: 12.33 kB / 358.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.2339, allocations: 1.806 MB / 360.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.2346, allocations: 0.7002 MB / 360.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.2347, allocations: 16.88 kB / 360.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.852e-05/0.2349, allocations: 27.44 kB / 360.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2349, allocations: 0 / 360.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.2697, allocations: 2.522 MB / 363.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.61, allocations: 11.94 kB / 363.4 MB, free: 6.617 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches