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.001612/0.001612, allocations: 108.8 kB / 16.92 MB, free: 5.766 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.001941/0.001941, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.338/2.338, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 42.64 kB / 300.7 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1629, allocations: 49.46 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.0108/0.1737, allocations: 4.313 MB / 354.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.1791, allocations: 1.646 MB / 356.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.1802, allocations: 12 kB / 356.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.1844, allocations: 1.011 MB / 357.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.186, allocations: 250.2 kB / 357.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.1889, allocations: 0.8046 MB / 358.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.1904, allocations: 0.6299 MB / 358.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.192, allocations: 0.5211 MB / 359.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.1927, allocations: 274.9 kB / 359.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009098/0.1937, allocations: 358.5 kB / 360 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.1939, allocations: 56 kB / 360 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.1953, allocations: 275.7 kB / 360.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.1957, allocations: 143.5 kB / 360.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009318/0.1966, allocations: 326.4 kB / 360.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.1993, allocations: 0.9422 MB / 361.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.1993, allocations: 0 / 361.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1993, allocations: 0 / 361.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.114e-05/0.1994, allocations: 4 kB / 361.7 MB, free: 8.727 MB / 302.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.007412/0.2068, allocations: 1.26 MB / 363 MB, free: 7.414 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.321e-05/0.2069, allocations: 12.03 kB / 363 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003987/0.2073, allocations: 114.8 kB / 363.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.2102, allocations: 208 kB / 363.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.2107, allocations: 251.2 kB / 363.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.2108, allocations: 54.38 kB / 363.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.2111, allocations: 76.38 kB / 363.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.214, allocations: 0.77 MB / 364.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/0.214, allocations: 3.906 kB / 364.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.2142, allocations: 35.98 kB / 364.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.2142, allocations: 20 kB / 364.5 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.217, allocations: 0.6649 MB / 365.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008247/0.2252, allocations: 3.103 MB / 368.3 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3433/0.5686, allocations: 2.083 MB / 370.4 MB, free: 24.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.5701, allocations: 323.4 kB / 370.7 MB, free: 24.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.5703, allocations: 97.64 kB / 370.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/0.5704, allocations: 47.67 kB / 370.8 MB, free: 24.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 4.879e-06/0.5704, allocations: 0 / 370.8 MB, free: 24.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.004758/0.5751, allocations: 1.14 MB / 372 MB, free: 24.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.5752, allocations: 119 kB / 372.1 MB, free: 24.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.5759, allocations: 273.5 kB / 372.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.576, allocations: 41.14 kB / 372.4 MB, free: 24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.5762, allocations: 289.8 kB / 372.7 MB, free: 23.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.5765, allocations: 248 kB / 372.9 MB, free: 23.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.5769, allocations: 137.6 kB / 373 MB, free: 23.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5771, allocations: 348.4 kB / 373.4 MB, free: 23.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008743/0.578, allocations: 232.8 kB / 373.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.5791, allocations: 381.3 kB / 374 MB, free: 23.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.581, allocations: 0.633 MB / 374.6 MB, free: 22.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.5811, allocations: 1.344 kB / 374.6 MB, free: 22.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003177/0.5843, allocations: 0.8322 MB / 375.4 MB, free: 22.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.5843, allocations: 10.88 kB / 375.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.5844, allocations: 4.781 kB / 375.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007682/0.5851, allocations: 128.1 kB / 375.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.5863, allocations: 165.6 kB / 375.7 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004711/0.591, allocations: 3.778 MB / 379.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.592, allocations: 91.23 kB / 379.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/0.5921, allocations: 28.2 kB / 379.6 MB, free: 18.71 MB / 302.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.0003986/0.5925, allocations: 207.6 kB / 379.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.5927, allocations: 43.97 kB / 379.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.5953, allocations: 0.7464 MB / 380.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.5953, allocations: 10.88 kB / 380.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5953, allocations: 2.75 kB / 380.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.5954, allocations: 5.828 kB / 380.7 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004302/0.5997, allocations: 1.495 MB / 382.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.5997, allocations: 0.6562 kB / 382.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/0.6005, allocations: 115.3 kB / 382.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.601, allocations: 120.4 kB / 382.4 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/0.601, allocations: 15.14 kB / 382.4 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003428/0.6045, allocations: 3.345 MB / 385.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6045, allocations: 4.969 kB / 385.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.6078, allocations: 1.123 MB / 386.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.6081, allocations: 125.1 kB / 387 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.6082, allocations: 18.45 kB / 387 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.6088, allocations: 31.91 kB / 387 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.6091, allocations: 51.94 kB / 387.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.385e-05/0.6092, allocations: 19.91 kB / 387.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003677/0.6095, allocations: 191.2 kB / 387.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6095, allocations: 4.062 kB / 387.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001612/0.6112, allocations: 212.6 kB / 387.5 MB, free: 13.26 MB / 302.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.004023/0.6152, allocations: 1.717 MB / 389.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003189/0.6184, allocations: 0.9035 MB / 390.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.6184, allocations: 256 / 390.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.6197, allocations: 0.5632 MB / 390.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000938/0.6206, allocations: 41.77 kB / 390.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.6326, allocations: 4.798 MB / 395.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.6332, allocations: 0.8611 MB / 396.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007089/0.6339, allocations: 86.84 kB / 396.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.6344, allocations: 197.6 kB / 396.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of SimCode: time 4.008e-06/0.6344, allocations: 3.844 kB / 396.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05798/0.6924, allocations: 10.53 MB / 407.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.33, allocations: 7.828 kB / 407.2 MB, free: 15.84 MB / 318.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