Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.001182/0.001182, allocations: 109.6 kB / 17.06 MB, free: 6.016 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.001268/0.001268, allocations: 191 kB / 18 MB, free: 5.102 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 43.92 kB / 350.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2688, allocations: 49.45 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00545/0.2743, allocations: 4.322 MB / 404.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2772, allocations: 1.639 MB / 406.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004726/0.2777, allocations: 12 kB / 406.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.2801, allocations: 1.025 MB / 407.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008696/0.281, allocations: 258.1 kB / 407.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.2827, allocations: 0.7973 MB / 408.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000768/0.2834, allocations: 0.6414 MB / 408.9 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007803/0.2842, allocations: 0.5091 MB / 409.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.2846, allocations: 270.9 kB / 409.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.285, allocations: 362.5 kB / 410.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.162e-05/0.2851, allocations: 56 kB / 410.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.2856, allocations: 271.8 kB / 410.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2857, allocations: 143.5 kB / 410.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.286, allocations: 322.4 kB / 410.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.287, allocations: 0.964 MB / 411.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.287, allocations: 4 kB / 411.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.287, allocations: 0 / 411.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.287, allocations: 0 / 411.8 MB, free: 13.22 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003565/0.2906, allocations: 1.271 MB / 413.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.2907, allocations: 12.03 kB / 413.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.2908, allocations: 126.7 kB / 413.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.2922, allocations: 208.3 kB / 413.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.2924, allocations: 235.5 kB / 413.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.2925, allocations: 58.38 kB / 413.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.2927, allocations: 80.27 kB / 413.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.2941, allocations: 0.7738 MB / 414.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.2941, allocations: 4 kB / 414.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.409e-05/0.2942, allocations: 28 kB / 414.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.2942, allocations: 20 kB / 414.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.2955, allocations: 0.6649 MB / 415.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.2998, allocations: 3.096 MB / 418.4 MB, free: 6.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.3023, allocations: 2.071 MB / 420.4 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.303, allocations: 339 kB / 420.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.3031, allocations: 101.7 kB / 420.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.3032, allocations: 43.22 kB / 420.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.065e-06/0.3032, allocations: 0 / 420.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002786/0.306, allocations: 1.142 MB / 422.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.3061, allocations: 115.5 kB / 422.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.3064, allocations: 274.5 kB / 422.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.3065, allocations: 41.73 kB / 422.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.3067, allocations: 304.3 kB / 422.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.307, allocations: 257.8 kB / 423 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.3072, allocations: 134.6 kB / 423.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3074, allocations: 358.7 kB / 423.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.308, allocations: 225.9 kB / 423.7 MB, free: 496 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.3086, allocations: 390.2 kB / 424.1 MB, free: 48 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.3098, allocations: 0.6299 MB / 424.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3098, allocations: 0 / 424.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001634/0.3114, allocations: 0.8347 MB / 425.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.3115, allocations: 12.06 kB / 425.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3115, allocations: 4 kB / 425.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.312, allocations: 121.6 kB / 425.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.3126, allocations: 159.8 kB / 425.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.3161, allocations: 3.794 MB / 429.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.3167, allocations: 87.39 kB / 429.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.3167, allocations: 35.98 kB / 429.8 MB, free: 10.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000279/0.317, allocations: 197.9 kB / 430 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3171, allocations: 47.66 kB / 430 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.3186, allocations: 0.7492 MB / 430.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.3186, allocations: 12 kB / 430.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3186, allocations: 0 / 430.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.3187, allocations: 11.92 kB / 430.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.3211, allocations: 1.485 MB / 432.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3211, allocations: 0 / 432.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.3216, allocations: 119.8 kB / 432.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/0.3219, allocations: 105.6 kB / 432.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.322, allocations: 20 kB / 432.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002857/0.3248, allocations: 3.353 MB / 435.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3249, allocations: 0 / 435.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3268, allocations: 1.125 MB / 437 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3269, allocations: 124.8 kB / 437.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.327, allocations: 12 kB / 437.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.3274, allocations: 31.97 kB / 437.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.3276, allocations: 52.58 kB / 437.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.3276, allocations: 16 kB / 437.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3278, allocations: 198 kB / 437.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3278, allocations: 0 / 437.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008721/0.3287, allocations: 219.6 kB / 437.6 MB, free: 1.766 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002527/0.3312, allocations: 1.72 MB / 439.4 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.3331, allocations: 0.8835 MB / 440.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3331, allocations: 0 / 440.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008169/0.3339, allocations: 0.5642 MB / 440.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.3344, allocations: 38.06 kB / 440.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007907/0.3423, allocations: 4.788 MB / 445.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.3429, allocations: 0.8616 MB / 446.5 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.3433, allocations: 92.28 kB / 446.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.3436, allocations: 203.4 kB / 446.8 MB, free: 8.312 MB / 366.1 MB Notification: Performance of SimCode: time 2.304e-06/0.3437, allocations: 3.938 kB / 446.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.3829, allocations: 10.69 MB / 457.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.74, allocations: 11.36 kB / 457.5 MB, free: 13.8 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_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_CuboidSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches