Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001959/0.001959, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002349/0.002349, allocations: 210.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_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_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 64.12 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2893, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006004/0.2953, allocations: 4.225 MB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.2985, allocations: 1.759 MB / 437.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.2988, allocations: 12 kB / 437.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.3012, allocations: 1.022 MB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006886/0.3019, allocations: 242.3 kB / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.3035, allocations: 0.7668 MB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.3042, allocations: 0.6066 MB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007043/0.305, allocations: 440.5 kB / 440.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/0.3053, allocations: 270.9 kB / 440.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.3058, allocations: 338.7 kB / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.3059, allocations: 52 kB / 440.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005709/0.3064, allocations: 295.7 kB / 441.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.3065, allocations: 131.5 kB / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.3069, allocations: 306.5 kB / 441.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.308, allocations: 0.9451 MB / 442.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.308, allocations: 4 kB / 442.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.308, allocations: 0 / 442.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.308, allocations: 0 / 442.6 MB, free: 11.29 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.003631/0.3117, allocations: 1.164 MB / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.3117, allocations: 12.03 kB / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.3119, allocations: 106.7 kB / 443.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.3131, allocations: 180.4 kB / 444 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.3133, allocations: 186.4 kB / 444.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.3134, allocations: 50.38 kB / 444.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3135, allocations: 68.33 kB / 444.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.3147, allocations: 0.7075 MB / 445 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.3148, allocations: 7.938 kB / 445 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.568e-05/0.3148, allocations: 31.98 kB / 445.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3149, allocations: 16 kB / 445.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.3161, allocations: 0.6023 MB / 445.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.3198, allocations: 2.237 MB / 447.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.3211, allocations: 0.6692 MB / 448.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.3216, allocations: 247 kB / 448.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.3218, allocations: 36.55 kB / 448.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.3218, allocations: 43.25 kB / 448.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.276e-06/0.3218, allocations: 0 / 448.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00167/0.3235, allocations: 0.7085 MB / 449.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/0.3236, allocations: 115.4 kB / 449.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.3239, allocations: 268.8 kB / 450 MB, free: 3.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.324, allocations: 33.7 kB / 450 MB, free: 3.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3242, allocations: 272.8 kB / 450.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.3244, allocations: 237.9 kB / 450.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.3246, allocations: 118.6 kB / 450.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.3248, allocations: 350.7 kB / 451 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.3253, allocations: 205.9 kB / 451.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.3259, allocations: 305.4 kB / 451.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.3269, allocations: 0.5185 MB / 452 MB, free: 1.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3269, allocations: 4 kB / 452 MB, free: 1.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001274/0.3282, allocations: 0.6298 MB / 452.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3282, allocations: 6.656 kB / 452.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3282, allocations: 4 kB / 452.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3282, allocations: 4 kB / 452.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.329, allocations: 155.8 kB / 452.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.329, allocations: 11.92 kB / 452.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.3295, allocations: 75.75 kB / 452.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.3295, allocations: 23.98 kB / 452.9 MB, free: 0.5938 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.000287/0.3298, allocations: 189.6 kB / 453.1 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3299, allocations: 43.77 kB / 453.1 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.3312, allocations: 0.6029 MB / 453.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-06/0.3312, allocations: 4 kB / 453.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3313, allocations: 4 kB / 453.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.3313, allocations: 3.984 kB / 453.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.3335, allocations: 1.268 MB / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.3335, allocations: 7.984 kB / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.334, allocations: 127.9 kB / 455.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.3341, allocations: 4 kB / 455.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.3341, allocations: 23.92 kB / 455.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3341, allocations: 0 / 455.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3341, allocations: 4 kB / 455.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.3358, allocations: 0.9745 MB / 456.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.3358, allocations: 47.66 kB / 456.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.3359, allocations: 15.94 kB / 456.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.3363, allocations: 31.91 kB / 456.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.3364, allocations: 44.58 kB / 456.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.3364, allocations: 24.05 kB / 456.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3366, allocations: 196.4 kB / 456.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3366, allocations: 0 / 456.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000612/0.3373, allocations: 183.6 kB / 456.7 MB, free: 12.73 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.002124/0.3394, allocations: 1.562 MB / 458.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.3405, allocations: 0.5093 MB / 458.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3405, allocations: 0 / 458.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.341, allocations: 255.6 kB / 459 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.3415, allocations: 40.42 kB / 459 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.3482, allocations: 4.198 MB / 463.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.3488, allocations: 0.8497 MB / 464.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.3491, allocations: 79.41 kB / 464.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.3494, allocations: 195.3 kB / 464.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3494, allocations: 0 / 464.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04068/0.3901, allocations: 9.983 MB / 474.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.95, allocations: 5.25 kB / 474.3 MB, free: 11.03 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.510710491998907]