Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_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.001796/0.001796, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001872/0.001872, allocations: 192 kB / 18.51 MB, free: 4.508 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.228/2.228, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002259/0.002259, allocations: 51.94 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1184, allocations: 46.62 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00935/0.1278, allocations: 4.286 MB / 331.7 MB, free: 56 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.1325, allocations: 1.686 MB / 333.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006203/0.1333, allocations: 12 kB / 333.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004049/0.1373, allocations: 1.019 MB / 334.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.1389, allocations: 246.2 kB / 334.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.1418, allocations: 0.7941 MB / 335.4 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.1434, allocations: 0.6377 MB / 336.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.1452, allocations: 0.5171 MB / 336.6 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008881/0.1462, allocations: 274.9 kB / 336.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.1474, allocations: 358.6 kB / 337.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000304/0.1477, allocations: 56 kB / 337.3 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.1492, allocations: 275.7 kB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.1496, allocations: 135.5 kB / 337.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008415/0.1505, allocations: 330.3 kB / 338 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.1528, allocations: 0.9462 MB / 338.9 MB, free: 8.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.1529, allocations: 0 / 338.9 MB, free: 8.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1529, allocations: 4 kB / 338.9 MB, free: 8.766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.208e-05/0.1529, allocations: 0 / 338.9 MB, free: 8.766 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00695/0.1599, allocations: 1.257 MB / 340.2 MB, free: 7.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.16, allocations: 11.97 kB / 340.2 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/0.1603, allocations: 122.8 kB / 340.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.1632, allocations: 211.9 kB / 340.5 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.1636, allocations: 235.5 kB / 340.8 MB, free: 6.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.851e-05/0.1637, allocations: 58.31 kB / 340.8 MB, free: 6.785 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.1639, allocations: 76.38 kB / 340.9 MB, free: 6.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.1663, allocations: 0.7661 MB / 341.7 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.1664, allocations: 4 kB / 341.7 MB, free: 5.922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.1665, allocations: 32 kB / 341.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.1666, allocations: 16 kB / 341.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.1689, allocations: 0.6688 MB / 342.4 MB, free: 5.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007103/0.1761, allocations: 3.11 MB / 345.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00403/0.1801, allocations: 2.078 MB / 347.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.1814, allocations: 315.5 kB / 347.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/0.1817, allocations: 97.73 kB / 348 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.1818, allocations: 47.22 kB / 348 MB, free: 14.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 4.809e-06/0.1818, allocations: 0 / 348 MB, free: 14.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.004665/0.1865, allocations: 1.142 MB / 349.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.1867, allocations: 115.5 kB / 349.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.1872, allocations: 270.5 kB / 349.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/0.1873, allocations: 37.7 kB / 349.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.1876, allocations: 303.4 kB / 349.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.1879, allocations: 236.5 kB / 350.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/0.1883, allocations: 138.6 kB / 350.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.1886, allocations: 351 kB / 350.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.1895, allocations: 233.9 kB / 350.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.1906, allocations: 394.2 kB / 351.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.1926, allocations: 0.6298 MB / 351.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.1927, allocations: 4 kB / 351.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002978/0.1957, allocations: 0.8344 MB / 352.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.1957, allocations: 8 kB / 352.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.1957, allocations: 4 kB / 352.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007206/0.1965, allocations: 125.7 kB / 352.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.1975, allocations: 163.7 kB / 352.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005591/0.2031, allocations: 3.793 MB / 356.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000991/0.2042, allocations: 95.03 kB / 356.8 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.2044, allocations: 36.06 kB / 356.9 MB, free: 5.598 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.0004926/0.2049, allocations: 193.7 kB / 357.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.2051, allocations: 39.53 kB / 357.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.208, allocations: 0.7491 MB / 357.8 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.208, allocations: 4 kB / 357.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.208, allocations: 4 kB / 357.9 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.2081, allocations: 7.922 kB / 357.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004497/0.2126, allocations: 1.493 MB / 359.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.2126, allocations: 4 kB / 359.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000914/0.2136, allocations: 115.8 kB / 359.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005649/0.2141, allocations: 105.6 kB / 359.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.968e-05/0.2143, allocations: 20 kB / 359.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004872/0.2191, allocations: 3.349 MB / 362.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.2192, allocations: 0 / 362.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.2229, allocations: 1.12 MB / 364.1 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.2231, allocations: 132.4 kB / 364.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.2232, allocations: 12 kB / 364.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.224, allocations: 27.98 kB / 364.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.2242, allocations: 56.58 kB / 364.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.2243, allocations: 20 kB / 364.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.2247, allocations: 198 kB / 364.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2247, allocations: 0 / 364.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001515/0.2262, allocations: 211.5 kB / 364.7 MB, free: 13.34 MB / 318.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.004008/0.2302, allocations: 1.704 MB / 366.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.2336, allocations: 0.9192 MB / 367.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2336, allocations: 3.938 kB / 367.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.235, allocations: 0.5556 MB / 367.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.236, allocations: 44.56 kB / 367.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.2484, allocations: 4.81 MB / 372.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.2491, allocations: 0.8616 MB / 373.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008113/0.25, allocations: 84.34 kB / 373.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.2505, allocations: 203.4 kB / 373.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2505, allocations: 0 / 373.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2946/0.5451, allocations: 10.5 MB / 384.4 MB, free: 53.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.74/18.28, allocations: 3.516 kB / 384.4 MB, free: 53.43 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches