Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007936/0.0007936, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000765/0.000765, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8613/0.8613, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.667e-06/9.829e-06, allocations: 5.516 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003256/0.003266, allocations: 3.799 MB / 322.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.004828, allocations: 1.533 MB / 323.8 MB, free: 1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.00496, allocations: 16 kB / 323.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.006049, allocations: 0.9903 MB / 324.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.006344, allocations: 242 kB / 325 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007945/0.007139, allocations: 0.7575 MB / 325.8 MB, free: 15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.007519, allocations: 0.6453 MB / 326.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.007976, allocations: 435.4 kB / 326.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.00828, allocations: 391.1 kB / 327.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.008579, allocations: 263.2 kB / 327.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/0.008629, allocations: 52 kB / 327.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.008919, allocations: 255.6 kB / 327.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.008984, allocations: 135.5 kB / 327.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.009108, allocations: 207.4 kB / 328.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006374/0.009745, allocations: 0.9579 MB / 329.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.009747, allocations: 4 kB / 329.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009749, allocations: 0 / 329.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.009755, allocations: 0 / 329.1 MB, free: 11.68 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.001837/0.01159, allocations: 1.137 MB / 330.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.01163, allocations: 8.922 kB / 330.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.442e-05/0.01173, allocations: 106.7 kB / 330.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/0.01228, allocations: 184.4 kB / 330.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.01241, allocations: 173.7 kB / 330.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.01244, allocations: 54.38 kB / 330.7 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.01251, allocations: 68.31 kB / 330.8 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/0.0133, allocations: 0.7329 MB / 331.5 MB, free: 9.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.01331, allocations: 4.141 kB / 331.5 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.01335, allocations: 32.12 kB / 331.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.01337, allocations: 20 kB / 331.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007607/0.01413, allocations: 0.5946 MB / 332.2 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.01617, allocations: 1.865 MB / 334 MB, free: 6.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008891/0.01706, allocations: 0.6587 MB / 334.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.01737, allocations: 254.8 kB / 334.9 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-05/0.01744, allocations: 16.75 kB / 335 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.01747, allocations: 47.14 kB / 335 MB, free: 5.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.943e-06/0.01747, allocations: 0 / 335 MB, free: 5.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009743/0.01845, allocations: 0.7047 MB / 335.7 MB, free: 4.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.0185, allocations: 111.5 kB / 335.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.01873, allocations: 269.6 kB / 336.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.01876, allocations: 33.7 kB / 336.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01888, allocations: 276.6 kB / 336.4 MB, free: 4.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.01899, allocations: 234 kB / 336.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.01912, allocations: 122.6 kB / 336.7 MB, free: 3.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01923, allocations: 346.8 kB / 337.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.01953, allocations: 205.9 kB / 337.3 MB, free: 3.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.01989, allocations: 331.1 kB / 337.6 MB, free: 2.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.02052, allocations: 0.5185 MB / 338.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.02052, allocations: 0 / 338.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00075/0.02127, allocations: 0.6258 MB / 338.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.02129, allocations: 7.984 kB / 338.8 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.02129, allocations: 8.188 kB / 338.8 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.02131, allocations: 4 kB / 338.8 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.02169, allocations: 163.7 kB / 338.9 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.0217, allocations: 7.938 kB / 338.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.02193, allocations: 75.53 kB / 339 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.02196, allocations: 23.98 kB / 339 MB, free: 1.406 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.02212, allocations: 185.7 kB / 339.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.02218, allocations: 39.7 kB / 339.2 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007908/0.02297, allocations: 0.6146 MB / 339.9 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.02297, allocations: 4 kB / 339.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.02298, allocations: 8 kB / 339.9 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02298, allocations: 3.984 kB / 339.9 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.02427, allocations: 1.182 MB / 341.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02427, allocations: 0 / 341.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.02456, allocations: 127.9 kB / 341.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.02457, allocations: 4 kB / 341.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.02459, allocations: 15.98 kB / 341.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.0246, allocations: 4 kB / 341.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.0246, allocations: 0 / 341.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.02571, allocations: 0.9822 MB / 342.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.02576, allocations: 55.66 kB / 342.2 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.02579, allocations: 12 kB / 342.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.02598, allocations: 31.97 kB / 342.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.02605, allocations: 48.52 kB / 342.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.02607, allocations: 16 kB / 342.4 MB, free: 14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.02619, allocations: 193.2 kB / 342.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02619, allocations: 0 / 342.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003405/0.02653, allocations: 175.7 kB / 342.7 MB, free: 13.64 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001326/0.02786, allocations: 1.566 MB / 344.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000648/0.02851, allocations: 0.5093 MB / 344.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.02851, allocations: 0 / 344.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.0288, allocations: 247.6 kB / 345 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.02915, allocations: 60.34 kB / 345.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.03309, allocations: 4.199 MB / 349.3 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.03324, allocations: 245.1 kB / 349.5 MB, free: 6.645 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.03345, allocations: 79.39 kB / 349.6 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.03364, allocations: 196.4 kB / 349.8 MB, free: 6.375 MB / 314.7 MB Notification: Performance of SimCode: time 3.166e-06/0.03364, allocations: 0 / 349.8 MB, free: 6.375 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.05392, allocations: 10.25 MB / 360 MB, free: 12.33 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.165, allocations: 3.938 kB / 360.1 MB, free: 12.32 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.747374574653804]