Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.001511/0.001511, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001751/0.001751, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 43.92 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2798, allocations: 49.44 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005971/0.2858, allocations: 4.173 MB / 404.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.2887, allocations: 1.631 MB / 406.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.2889, allocations: 12 kB / 406.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.2911, allocations: 1.015 MB / 407.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.2917, allocations: 238.3 kB / 407.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.2932, allocations: 0.7962 MB / 408.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000628/0.2938, allocations: 0.6222 MB / 408.7 MB, free: 292 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007225/0.2945, allocations: 0.4914 MB / 409.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.2949, allocations: 267 kB / 409.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.2953, allocations: 338.7 kB / 409.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.101e-05/0.2954, allocations: 56 kB / 409.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.2959, allocations: 267.7 kB / 410.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.296, allocations: 135.5 kB / 410.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.2963, allocations: 306.5 kB / 410.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009983/0.2973, allocations: 0.9213 MB / 411.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2973, allocations: 4 kB / 411.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2973, allocations: 0 / 411.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.2973, allocations: 0 / 411.5 MB, free: 13.52 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003482/0.3008, allocations: 1.22 MB / 412.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3009, allocations: 12.03 kB / 412.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.301, allocations: 110.7 kB / 412.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.3021, allocations: 176.4 kB / 413 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3023, allocations: 245 kB / 413.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.3024, allocations: 54.38 kB / 413.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3025, allocations: 64.38 kB / 413.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3038, allocations: 0.7036 MB / 414.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.3038, allocations: 7.922 kB / 414.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.3039, allocations: 24 kB / 414.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.3039, allocations: 23.94 kB / 414.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3051, allocations: 0.5947 MB / 414.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.3084, allocations: 2.313 MB / 417 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.3102, allocations: 1.629 MB / 418.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/0.3107, allocations: 277 kB / 418.9 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.3109, allocations: 93.67 kB / 419 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3109, allocations: 43.16 kB / 419.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.325e-06/0.3109, allocations: 0 / 419.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001592/0.3125, allocations: 0.7056 MB / 419.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.3126, allocations: 115.5 kB / 419.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.3129, allocations: 264.9 kB / 420.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.3129, allocations: 37.7 kB / 420.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.3131, allocations: 268.7 kB / 420.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.3133, allocations: 241.9 kB / 420.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.3135, allocations: 118.6 kB / 420.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3136, allocations: 350.7 kB / 421.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.3141, allocations: 213.9 kB / 421.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/0.3147, allocations: 297.4 kB / 421.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.3157, allocations: 0.5142 MB / 422.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3157, allocations: 4 kB / 422.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001258/0.3169, allocations: 0.622 MB / 422.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.317, allocations: 10.66 kB / 422.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.317, allocations: 3.984 kB / 422.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.317, allocations: 4.188 kB / 422.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.3177, allocations: 163.8 kB / 422.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.3178, allocations: 11.94 kB / 423 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.3183, allocations: 59.61 kB / 423 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.3183, allocations: 31.98 kB / 423 MB, free: 1.324 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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.0002275/0.3185, allocations: 189.6 kB / 423.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.3186, allocations: 39.77 kB / 423.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.3199, allocations: 0.6046 MB / 423.9 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.3199, allocations: 8 kB / 423.9 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3199, allocations: 0 / 423.9 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3199, allocations: 3.984 kB / 423.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.322, allocations: 1.294 MB / 425.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.322, allocations: 0 / 425.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.3226, allocations: 135.9 kB / 425.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3226, allocations: 0 / 425.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.3226, allocations: 15.94 kB / 425.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3226, allocations: 4 kB / 425.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3227, allocations: 0 / 425.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.3243, allocations: 0.987 MB / 426.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.3244, allocations: 120.8 kB / 426.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.587e-05/0.3245, allocations: 15.92 kB / 426.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.3249, allocations: 31.98 kB / 426.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.325, allocations: 40.5 kB / 426.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.325, allocations: 20.06 kB / 426.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.3252, allocations: 192.5 kB / 426.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3252, allocations: 0 / 426.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005455/0.3258, allocations: 179.6 kB / 426.9 MB, free: 13.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * 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.002034/0.3278, allocations: 1.575 MB / 428.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3289, allocations: 0.5354 MB / 429 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.329, allocations: 0 / 429 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.3295, allocations: 279 kB / 429.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.33, allocations: 48.38 kB / 429.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.3362, allocations: 4.234 MB / 433.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3366, allocations: 0.8421 MB / 434.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.337, allocations: 83.34 kB / 434.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.3372, allocations: 191.3 kB / 434.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3373, allocations: 0 / 434.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.3687, allocations: 9.332 MB / 444 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.488, allocations: 7.688 kB / 444 MB, free: 12.24 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_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_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches