Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 47.92 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.264, allocations: 53.37 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006027/0.27, allocations: 4.222 MB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.2733, allocations: 1.759 MB / 437.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.2736, allocations: 12 kB / 437.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.276, allocations: 1.015 MB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006893/0.2767, allocations: 242.2 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.2784, allocations: 0.7668 MB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007362/0.2791, allocations: 0.6144 MB / 439.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007214/0.2799, allocations: 436.9 kB / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.2803, allocations: 278.9 kB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.2807, allocations: 326.7 kB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.2808, allocations: 56 kB / 440.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000608/0.2814, allocations: 295.7 kB / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2815, allocations: 131.5 kB / 441.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.2818, allocations: 310.5 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.2831, allocations: 0.9418 MB / 442.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2831, allocations: 0 / 442.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2831, allocations: 4 kB / 442.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.2831, allocations: 3.938 kB / 442.5 MB, free: 11.43 MB / 350.1 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.003759/0.2869, allocations: 1.161 MB / 443.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2869, allocations: 12.03 kB / 443.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.287, allocations: 110.7 kB / 443.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.2883, allocations: 180.4 kB / 444 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.2885, allocations: 182.4 kB / 444.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.2885, allocations: 50.38 kB / 444.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.2886, allocations: 76.33 kB / 444.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.2899, allocations: 0.7075 MB / 445 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.29, allocations: 4 kB / 445 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.29, allocations: 24 kB / 445 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.2901, allocations: 16 kB / 445 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.2913, allocations: 0.6023 MB / 445.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00365/0.295, allocations: 2.236 MB / 447.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.2963, allocations: 0.6808 MB / 448.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.2968, allocations: 247.6 kB / 448.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.297, allocations: 28.62 kB / 448.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.297, allocations: 43.2 kB / 448.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.595e-06/0.297, allocations: 0 / 448.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001648/0.2987, allocations: 0.7046 MB / 449.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.2988, allocations: 119.4 kB / 449.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.2991, allocations: 264.8 kB / 449.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.2991, allocations: 33.7 kB / 450 MB, free: 3.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.2993, allocations: 268.7 kB / 450.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.2995, allocations: 238.1 kB / 450.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.2997, allocations: 118.6 kB / 450.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2999, allocations: 350.7 kB / 450.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.3004, allocations: 209.9 kB / 451.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.3009, allocations: 313.3 kB / 451.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.302, allocations: 0.5185 MB / 451.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.302, allocations: 0 / 451.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001317/0.3033, allocations: 0.6338 MB / 452.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3033, allocations: 4 kB / 452.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3033, allocations: 7.938 kB / 452.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.3033, allocations: 4 kB / 452.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.3041, allocations: 159.8 kB / 452.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3041, allocations: 4 kB / 452.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.3046, allocations: 71.61 kB / 452.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.3046, allocations: 28 kB / 452.9 MB, free: 0.7344 MB / 350.1 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.00026/0.3049, allocations: 193.6 kB / 453 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.305, allocations: 39.75 kB / 453.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3063, allocations: 0.6028 MB / 453.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3063, allocations: 12 kB / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3063, allocations: 0 / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.3064, allocations: 3.984 kB / 453.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.3087, allocations: 1.268 MB / 455 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3087, allocations: 0 / 455 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.3093, allocations: 127.8 kB / 455.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3093, allocations: 8 kB / 455.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.3093, allocations: 15.94 kB / 455.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.3094, allocations: 4 kB / 455.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3094, allocations: 0 / 455.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.3111, allocations: 0.9785 MB / 456.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.3112, allocations: 39.67 kB / 456.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.3113, allocations: 19.92 kB / 456.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.3117, allocations: 31.98 kB / 456.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3118, allocations: 44.5 kB / 456.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.3118, allocations: 20 kB / 456.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.3121, allocations: 200.5 kB / 456.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3121, allocations: 0 / 456.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006067/0.3127, allocations: 183.6 kB / 456.6 MB, free: 12.88 MB / 366.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 (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.00215/0.3148, allocations: 1.573 MB / 458.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3159, allocations: 0.4974 MB / 458.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3159, allocations: 4.375 kB / 458.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.3165, allocations: 247.6 kB / 458.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.317, allocations: 58.39 kB / 459 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006719/0.3237, allocations: 4.205 MB / 463.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.3242, allocations: 0.8459 MB / 464.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003288/0.3245, allocations: 71.41 kB / 464.1 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.3248, allocations: 195.3 kB / 464.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3248, allocations: 0 / 464.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04264/0.3675, allocations: 9.975 MB / 474.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.26, allocations: 15.11 kB / 474.3 MB, free: 11.2 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.734781837789342]