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.002025/0.002025, 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.00243/0.00243, allocations: 215.1 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001557/0.001557, allocations: 39.94 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2818, allocations: 53.37 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005958/0.2877, allocations: 4.226 MB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003247/0.291, allocations: 1.751 MB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.2912, allocations: 12 kB / 437.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.2937, allocations: 1.019 MB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007261/0.2945, allocations: 246.2 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.2961, allocations: 0.7591 MB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.2967, allocations: 0.6066 MB / 439.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006743/0.2974, allocations: 442.9 kB / 440.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.2978, allocations: 282.9 kB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.2982, allocations: 330.7 kB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.711e-05/0.2983, allocations: 52 kB / 440.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005858/0.2989, allocations: 291.7 kB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.299, allocations: 135.5 kB / 441.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.2993, allocations: 310.5 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.3006, allocations: 0.9427 MB / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3006, allocations: 4 kB / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3006, allocations: 0 / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3006, allocations: 0 / 442.5 MB, free: 11.44 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.003638/0.3042, allocations: 1.164 MB / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3043, allocations: 8.031 kB / 443.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.3044, allocations: 114.7 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.3056, allocations: 184.4 kB / 444 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.3058, allocations: 174.5 kB / 444.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.3059, allocations: 54.36 kB / 444.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.306, allocations: 68.33 kB / 444.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.3073, allocations: 0.7075 MB / 445 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.3073, allocations: 8 kB / 445 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.3074, allocations: 24 kB / 445 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.3074, allocations: 16 kB / 445 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.3086, allocations: 0.6023 MB / 445.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/0.3122, allocations: 2.233 MB / 447.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.3135, allocations: 0.6809 MB / 448.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.314, allocations: 251.6 kB / 448.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.3141, allocations: 24.62 kB / 448.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.3142, allocations: 47.2 kB / 448.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/0.3142, allocations: 0 / 448.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001586/0.3158, allocations: 0.7085 MB / 449.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.3159, allocations: 115.4 kB / 449.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.3162, allocations: 264.8 kB / 449.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.3162, allocations: 41.7 kB / 450 MB, free: 3.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3164, allocations: 264.7 kB / 450.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.3166, allocations: 237.9 kB / 450.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.3168, allocations: 118.8 kB / 450.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.317, allocations: 350.7 kB / 450.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.3175, allocations: 213.9 kB / 451.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.318, allocations: 305.3 kB / 451.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.319, allocations: 0.5146 MB / 451.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3191, allocations: 0 / 451.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001319/0.3204, allocations: 0.6339 MB / 452.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3204, allocations: 18.58 kB / 452.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3204, allocations: 4 kB / 452.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3204, allocations: 4 kB / 452.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/0.3211, allocations: 155.8 kB / 452.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3211, allocations: 4 kB / 452.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.3216, allocations: 79.48 kB / 452.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.3217, allocations: 20 kB / 452.9 MB, free: 0.7461 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.0002587/0.3219, allocations: 197.6 kB / 453 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.322, allocations: 35.77 kB / 453.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.3233, allocations: 0.6029 MB / 453.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.3233, allocations: 8 kB / 453.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3233, allocations: 0 / 453.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.3233, allocations: 7.984 kB / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.3255, allocations: 1.268 MB / 455 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3255, allocations: 3.984 kB / 455 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.3261, allocations: 127.8 kB / 455.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3261, allocations: 4 kB / 455.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.3262, allocations: 19.94 kB / 455.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3262, allocations: 4 kB / 455.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3262, allocations: 0 / 455.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.3278, allocations: 0.9785 MB / 456.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.3279, allocations: 47.64 kB / 456.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.328, allocations: 15.94 kB / 456.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.3284, allocations: 27.97 kB / 456.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3285, allocations: 48.5 kB / 456.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3285, allocations: 19.94 kB / 456.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.3287, allocations: 188.5 kB / 456.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3287, allocations: 0 / 456.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006345/0.3294, allocations: 195.6 kB / 456.6 MB, free: 12.89 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.002208/0.3316, allocations: 1.566 MB / 458.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.3327, allocations: 0.5052 MB / 458.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3327, allocations: 0 / 458.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.3332, allocations: 248 kB / 458.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.3337, allocations: 52.86 kB / 459 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/0.3406, allocations: 4.206 MB / 463.2 MB, free: 6.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.3413, allocations: 0.8459 MB / 464.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004406/0.3417, allocations: 75.41 kB / 464.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.342, allocations: 191.3 kB / 464.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of SimCode: time 1.794e-06/0.342, allocations: 0 / 464.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/0.3827, allocations: 9.97 MB / 474.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.06, allocations: 21.55 kB / 474.3 MB, free: 11.21 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable hollowCylinderAxialOuter.port_p.reference.gamma in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.562672543997905]