Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001318/0.001318, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001463/0.001463, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.6 MB / 235.3 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 55.92 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2904, allocations: 49.15 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005368/0.2958, allocations: 4.176 MB / 400.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.2985, allocations: 1.696 MB / 402.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.2988, allocations: 10.19 kB / 402.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.301, allocations: 1.016 MB / 403.3 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.3016, allocations: 244.4 kB / 403.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3032, allocations: 0.7515 MB / 404.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007267/0.3039, allocations: 0.6263 MB / 404.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007184/0.3046, allocations: 445.8 kB / 405.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.305, allocations: 277.1 kB / 405.6 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.3054, allocations: 337 kB / 405.9 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.188e-05/0.3055, allocations: 56.81 kB / 406 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006187/0.3061, allocations: 271.6 kB / 406.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3062, allocations: 134.7 kB / 406.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.3065, allocations: 306 kB / 406.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.3077, allocations: 0.9128 MB / 407.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3077, allocations: 2.344 kB / 407.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3077, allocations: 0 / 407.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3077, allocations: 0 / 407.6 MB, free: 2.008 MB / 318.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.0035/0.3112, allocations: 1.146 MB / 408.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3112, allocations: 13.58 kB / 408.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.3114, allocations: 117.3 kB / 408.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.3125, allocations: 175.7 kB / 409 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.3126, allocations: 181 kB / 409.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.3127, allocations: 57.22 kB / 409.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/0.3128, allocations: 63.94 kB / 409.3 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.314, allocations: 0.7061 MB / 410 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.314, allocations: 0 / 410 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.3141, allocations: 26.75 kB / 410 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.3141, allocations: 16.75 kB / 410.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.3153, allocations: 0.5988 MB / 410.7 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.3188, allocations: 2.231 MB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.3201, allocations: 0.6811 MB / 413.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.3206, allocations: 242.7 kB / 413.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.3207, allocations: 21 kB / 413.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.3207, allocations: 37.91 kB / 413.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.114e-06/0.3207, allocations: 0 / 413.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001644/0.3224, allocations: 0.7086 MB / 414.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.3225, allocations: 110.6 kB / 414.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.3228, allocations: 270.7 kB / 414.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.3228, allocations: 36.45 kB / 415 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.323, allocations: 270.7 kB / 415.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.3232, allocations: 236.5 kB / 415.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.3234, allocations: 117.6 kB / 415.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3236, allocations: 350.8 kB / 415.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.3241, allocations: 206.5 kB / 416.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.3246, allocations: 303 kB / 416.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3256, allocations: 0.5114 MB / 416.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3257, allocations: 0 / 416.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001276/0.3269, allocations: 0.6282 MB / 417.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3269, allocations: 6.438 kB / 417.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.327, allocations: 8.969 kB / 417.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.327, allocations: 4.781 kB / 417.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/0.3277, allocations: 156.5 kB / 417.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.3277, allocations: 4.594 kB / 417.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.3282, allocations: 83.73 kB / 417.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.3283, allocations: 29.02 kB / 417.9 MB, free: 11.52 MB / 334.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.0002566/0.3285, allocations: 190.2 kB / 418 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/0.3286, allocations: 38.05 kB / 418.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3299, allocations: 0.5975 MB / 418.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.3299, allocations: 7.094 kB / 418.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3299, allocations: 0 / 418.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.33, allocations: 5.203 kB / 418.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.3322, allocations: 1.267 MB / 420 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3322, allocations: 1.375 kB / 420 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.3328, allocations: 132.7 kB / 420.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.3328, allocations: 6.766 kB / 420.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.3328, allocations: 21.08 kB / 420.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.3328, allocations: 6.562 kB / 420.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3328, allocations: 3.984 kB / 420.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.3346, allocations: 0.9787 MB / 421.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-05/0.3347, allocations: 49.34 kB / 421.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.946e-05/0.3347, allocations: 16.06 kB / 421.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.3351, allocations: 24.92 kB / 421.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3352, allocations: 46.94 kB / 421.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.3353, allocations: 16.88 kB / 421.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.3355, allocations: 184.9 kB / 421.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3355, allocations: 0 / 421.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.3361, allocations: 189.4 kB / 421.6 MB, free: 9.141 MB / 334.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.002147/0.3382, allocations: 1.558 MB / 423.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.3394, allocations: 0.5036 MB / 423.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3394, allocations: 0 / 423.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.3399, allocations: 248 kB / 423.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.3404, allocations: 52.42 kB / 424 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/0.3471, allocations: 4.233 MB / 428.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.3476, allocations: 0.8498 MB / 429.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003407/0.3479, allocations: 79.41 kB / 429.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.3482, allocations: 187.3 kB / 429.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3482, allocations: 0 / 429.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/0.39, allocations: 9.852 MB / 439.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.01, allocations: 12 kB / 439.2 MB, free: 7.836 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.566856508005003]