Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_cpp_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/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 196.7 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 226.5 MB / 244.7 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007479/0.0007477, allocations: 95.77 kB / 296.7 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000204/0.0002041, allocations: 4 kB / 356.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1748, allocations: 51.28 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.002798/0.1777, allocations: 3.708 MB / 411.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1792, allocations: 1.566 MB / 413.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1793, allocations: 15.94 kB / 413.4 MB, free: 22.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1797, allocations: 163.8 kB / 413.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.18, allocations: 209 kB / 413.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.1809, allocations: 0.6288 MB / 414.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.1813, allocations: 0.5907 MB / 415 MB, free: 20.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.1824, allocations: 0.8856 MB / 415.9 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.1826, allocations: 231.1 kB / 416.1 MB, free: 19.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1829, allocations: 306.7 kB / 416.4 MB, free: 19.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1829, allocations: 28 kB / 416.4 MB, free: 19.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.1832, allocations: 259.7 kB / 416.7 MB, free: 19.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1833, allocations: 103.5 kB / 416.8 MB, free: 18.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1835, allocations: 304.2 kB / 417.1 MB, free: 18.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.1839, allocations: 0.7218 MB / 417.8 MB, free: 17.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1839, allocations: 0 / 417.8 MB, free: 17.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.184, allocations: 0 / 417.8 MB, free: 17.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.184, allocations: 0 / 417.8 MB, free: 17.96 MB / 298.7 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.002812/0.1868, allocations: 1.159 MB / 419 MB, free: 16.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1868, allocations: 12.03 kB / 419 MB, free: 16.74 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.822e-05/0.1869, allocations: 122.8 kB / 419.1 MB, free: 16.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.1881, allocations: 203.9 kB / 419.3 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1882, allocations: 252.2 kB / 419.6 MB, free: 16.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.1883, allocations: 58.38 kB / 419.6 MB, free: 16.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.1883, allocations: 72.38 kB / 419.7 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.1894, allocations: 0.7739 MB / 420.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1895, allocations: 0 / 420.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.1895, allocations: 28 kB / 420.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.1895, allocations: 20 kB / 420.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.1906, allocations: 0.6805 MB / 421.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.1937, allocations: 3.285 MB / 424.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.1953, allocations: 2.091 MB / 426.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.1958, allocations: 335.5 kB / 426.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.196, allocations: 178.9 kB / 427.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.196, allocations: 43.5 kB / 427.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.693e-06/0.196, allocations: 0 / 427.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002148/0.1981, allocations: 1.18 MB / 428.3 MB, free: 6.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.1982, allocations: 115.5 kB / 428.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.1984, allocations: 266.5 kB / 428.7 MB, free: 6.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1984, allocations: 41.7 kB / 428.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.1985, allocations: 291.4 kB / 429 MB, free: 5.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1986, allocations: 252.4 kB / 429.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1987, allocations: 16 kB / 429.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.1987, allocations: 350.7 kB / 429.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.1991, allocations: 241.8 kB / 429.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.1996, allocations: 394.3 kB / 430.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.2006, allocations: 0.6493 MB / 430.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2006, allocations: 0 / 430.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00127/0.2018, allocations: 0.8423 MB / 431.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2019, allocations: 8 kB / 431.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2019, allocations: 7.984 kB / 431.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.2022, allocations: 121.7 kB / 431.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.2028, allocations: 163.7 kB / 432 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.205, allocations: 3.416 MB / 435.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.2055, allocations: 95.09 kB / 435.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.2055, allocations: 35.92 kB / 435.5 MB, free: 14.98 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.2057, allocations: 205.7 kB / 435.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.2058, allocations: 39.53 kB / 435.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.2073, allocations: 0.757 MB / 436.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2074, allocations: 8 kB / 436.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2074, allocations: 8 kB / 436.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2074, allocations: 3.984 kB / 436.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.2097, allocations: 1.516 MB / 438.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2097, allocations: 0 / 438.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.2102, allocations: 115.8 kB / 438.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.2105, allocations: 113.6 kB / 438.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.2105, allocations: 19.92 kB / 438.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.2128, allocations: 3.122 MB / 441.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2129, allocations: 0 / 441.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.2147, allocations: 1.144 MB / 442.6 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.2148, allocations: 120.5 kB / 442.7 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2149, allocations: 16 kB / 442.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.2152, allocations: 40.03 kB / 442.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.2154, allocations: 52.58 kB / 442.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.2154, allocations: 16 kB / 442.8 MB, free: 7.301 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.2156, allocations: 190 kB / 443 MB, free: 7.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.917e-06/0.2156, allocations: 4 kB / 443 MB, free: 7.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006464/0.2163, allocations: 219.4 kB / 443.2 MB, free: 6.895 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002215/0.2185, allocations: 1.744 MB / 445 MB, free: 5.113 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.2199, allocations: 0.9031 MB / 445.9 MB, free: 4.188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.2199, allocations: 0 / 445.9 MB, free: 4.188 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.2207, allocations: 0.5758 MB / 446.4 MB, free: 3.586 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.2211, allocations: 42.34 kB / 446.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.2256, allocations: 3.088 MB / 449.6 MB, free: 356 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.226, allocations: 0.8772 MB / 450.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.2263, allocations: 207.3 kB / 450.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2263, allocations: 0 / 450.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.252/3.478, allocations: 12.54 MB / 463.2 MB, free: 2.68 MB / 330.7 MB (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches