Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.CylinderSections,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_cpp_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/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 192.6 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 226.5 MB / 244.7 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007205/0.0007204, allocations: 94.48 kB / 296.7 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002323, allocations: 8 kB / 356.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1885, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.002754/0.1913, allocations: 3.571 MB / 411.7 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1932, allocations: 1.572 MB / 413.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.1934, allocations: 13.44 kB / 413.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1938, allocations: 167.1 kB / 413.5 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.1942, allocations: 190.8 kB / 413.6 MB, free: 22.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009589/0.1951, allocations: 0.6325 MB / 414.3 MB, free: 21.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.1955, allocations: 0.575 MB / 414.9 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.1965, allocations: 0.8611 MB / 415.7 MB, free: 20.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.1968, allocations: 219.1 kB / 415.9 MB, free: 19.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.197, allocations: 290.8 kB / 416.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.1971, allocations: 28 kB / 416.2 MB, free: 19.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.1974, allocations: 247.8 kB / 416.5 MB, free: 19.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.1975, allocations: 103.5 kB / 416.6 MB, free: 19.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.1977, allocations: 292.3 kB / 416.9 MB, free: 18.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.1981, allocations: 0.6946 MB / 417.6 MB, free: 18.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1981, allocations: 0 / 417.6 MB, free: 18.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1981, allocations: 0 / 417.6 MB, free: 18.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1981, allocations: 0 / 417.6 MB, free: 18.23 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002703/0.2008, allocations: 1.12 MB / 418.7 MB, free: 17.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2009, allocations: 8.031 kB / 418.7 MB, free: 17.05 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.954e-05/0.201, allocations: 106.7 kB / 418.8 MB, free: 16.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.202, allocations: 184 kB / 419 MB, free: 16.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2022, allocations: 232.2 kB / 419.2 MB, free: 16.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.2022, allocations: 54.38 kB / 419.3 MB, free: 16.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.2023, allocations: 76.22 kB / 419.3 MB, free: 16.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.2033, allocations: 0.7036 MB / 420 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.2033, allocations: 4 kB / 420 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.2034, allocations: 28 kB / 420.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2034, allocations: 19.94 kB / 420.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.2044, allocations: 0.6268 MB / 420.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.2069, allocations: 2.32 MB / 423 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.208, allocations: 1.636 MB / 424.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.2084, allocations: 282.7 kB / 424.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.2086, allocations: 182.8 kB / 425.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2086, allocations: 39.12 kB / 425.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.843e-06/0.2086, allocations: 0 / 425.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001311/0.2099, allocations: 0.7288 MB / 425.9 MB, free: 9.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2099, allocations: 115.5 kB / 426 MB, free: 9.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.2101, allocations: 264.8 kB / 426.3 MB, free: 8.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.2102, allocations: 33.7 kB / 426.3 MB, free: 8.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.2103, allocations: 264 kB / 426.6 MB, free: 8.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.732e-05/0.2103, allocations: 216.8 kB / 426.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.2104, allocations: 12 kB / 426.8 MB, free: 8.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.2104, allocations: 350.7 kB / 427.1 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.2108, allocations: 221.9 kB / 427.3 MB, free: 7.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.2113, allocations: 317.3 kB / 427.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.2121, allocations: 0.5299 MB / 428.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2121, allocations: 0 / 428.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001021/0.2132, allocations: 0.649 MB / 428.8 MB, free: 6.328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2132, allocations: 8 kB / 428.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2132, allocations: 0 / 428.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2132, allocations: 4 kB / 428.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.2139, allocations: 167.9 kB / 429 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.2139, allocations: 8 kB / 429 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.2143, allocations: 79.34 kB / 429.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.2143, allocations: 20 kB / 429.1 MB, free: 6.047 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.2145, allocations: 193.6 kB / 429.3 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.2146, allocations: 39.53 kB / 429.3 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.2156, allocations: 0.6201 MB / 430 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2157, allocations: 8 kB / 430 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2157, allocations: 0 / 430 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2157, allocations: 3.984 kB / 430 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.2173, allocations: 1.312 MB / 431.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2173, allocations: 0 / 431.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.2178, allocations: 135.8 kB / 431.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2178, allocations: 4 kB / 431.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.2179, allocations: 19.92 kB / 431.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2179, allocations: 4 kB / 431.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2179, allocations: 0 / 431.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.2192, allocations: 1.002 MB / 432.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.2193, allocations: 124.5 kB / 432.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.2193, allocations: 19.94 kB / 432.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.2197, allocations: 27.98 kB / 432.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.2198, allocations: 48.5 kB / 432.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.2199, allocations: 23.98 kB / 432.7 MB, free: 2.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.22, allocations: 188.5 kB / 432.9 MB, free: 2.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.22, allocations: 0 / 432.9 MB, free: 2.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.2204, allocations: 179.5 kB / 433 MB, free: 2 MB / 298.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 (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/0.2224, allocations: 1.597 MB / 434.6 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.2242, allocations: 0.5508 MB / 435.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2243, allocations: 0 / 435.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009169/0.2252, allocations: 283.5 kB / 435.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007901/0.226, allocations: 43.8 kB / 435.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/0.2324, allocations: 2.795 MB / 438.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.2327, allocations: 0.8463 MB / 439.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.2331, allocations: 191.3 kB / 439.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2331, allocations: 0 / 439.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.624/2.858, allocations: 7.523 MB / 446.9 MB, free: 4.059 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches