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.001377/0.001377, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001633/0.001633, allocations: 215 kB / 24.47 MB, free: 3.777 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.449/1.449, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.00182/0.00182, allocations: 47.94 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2622, allocations: 49.16 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004666/0.2669, allocations: 3.742 MB / 400.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.2694, allocations: 1.577 MB / 401.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.2696, allocations: 10.97 kB / 401.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.2717, allocations: 0.9438 MB / 402.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005521/0.2723, allocations: 240.1 kB / 402.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.2737, allocations: 0.7079 MB / 403.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.2742, allocations: 0.6245 MB / 404.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005896/0.2748, allocations: 439.1 kB / 404.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.2752, allocations: 274.5 kB / 404.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.2756, allocations: 300.1 kB / 405.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.2756, allocations: 52.81 kB / 405.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.2761, allocations: 250 kB / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.212e-05/0.2762, allocations: 132.2 kB / 405.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.2764, allocations: 253.2 kB / 405.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.2774, allocations: 0.9171 MB / 406.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2775, allocations: 0 / 406.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2775, allocations: 0 / 406.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2775, allocations: 0.9375 kB / 406.8 MB, free: 2.742 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.003264/0.2807, allocations: 1.155 MB / 407.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.2808, allocations: 13.58 kB / 407.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.2809, allocations: 111.7 kB / 408.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.282, allocations: 173.2 kB / 408.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2822, allocations: 188.6 kB / 408.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.2822, allocations: 49.88 kB / 408.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2823, allocations: 67.62 kB / 408.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2835, allocations: 0.7282 MB / 409.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.2836, allocations: 8.594 kB / 409.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.2836, allocations: 25.94 kB / 409.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.2836, allocations: 21.16 kB / 409.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.2848, allocations: 0.5949 MB / 409.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.2878, allocations: 1.85 MB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.2891, allocations: 0.6792 MB / 412.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.2896, allocations: 241.7 kB / 412.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.514e-05/0.2897, allocations: 16.14 kB / 412.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.2898, allocations: 39.66 kB / 412.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.245e-06/0.2898, allocations: 0 / 412.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001636/0.2914, allocations: 0.7081 MB / 413.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.2915, allocations: 111.5 kB / 413.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.2918, allocations: 271.6 kB / 413.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.2919, allocations: 36.95 kB / 413.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.2921, allocations: 266.5 kB / 414.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.2922, allocations: 245.1 kB / 414.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.2924, allocations: 117.3 kB / 414.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2926, allocations: 350.7 kB / 414.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.2931, allocations: 206.8 kB / 415 MB, free: 13.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.2937, allocations: 333.7 kB / 415.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2948, allocations: 0.5093 MB / 415.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2948, allocations: 0 / 415.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001351/0.2962, allocations: 0.6322 MB / 416.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.2962, allocations: 6.469 kB / 416.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.2962, allocations: 1.094 kB / 416.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.2962, allocations: 4.469 kB / 416.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.297, allocations: 161.1 kB / 416.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.297, allocations: 4.562 kB / 416.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.2975, allocations: 78.83 kB / 416.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.2976, allocations: 25.38 kB / 416.7 MB, free: 12.57 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.0002804/0.2978, allocations: 191 kB / 416.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2979, allocations: 42.09 kB / 417 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.2994, allocations: 0.6081 MB / 417.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.2994, allocations: 7.719 kB / 417.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2994, allocations: 0 / 417.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.2994, allocations: 5.047 kB / 417.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.3018, allocations: 1.186 MB / 418.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3018, allocations: 4 kB / 418.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.3024, allocations: 129.7 kB / 418.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.3024, allocations: 2.469 kB / 418.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.3024, allocations: 17.06 kB / 418.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3024, allocations: 2.5 kB / 418.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3024, allocations: 1.469 kB / 418.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.3043, allocations: 0.9788 MB / 419.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.3044, allocations: 52.81 kB / 420 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.3045, allocations: 15.41 kB / 420 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.3049, allocations: 29.69 kB / 420 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.305, allocations: 43.64 kB / 420 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.3051, allocations: 24.89 kB / 420.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.3053, allocations: 184.7 kB / 420.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3053, allocations: 1.344 kB / 420.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006385/0.3059, allocations: 184.1 kB / 420.4 MB, free: 10.27 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.002276/0.3082, allocations: 1.561 MB / 422 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.3094, allocations: 0.5052 MB / 422.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3094, allocations: 0 / 422.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.3099, allocations: 243.6 kB / 422.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.3105, allocations: 56.73 kB / 422.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007346/0.3178, allocations: 4.229 MB / 427 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3181, allocations: 237.1 kB / 427.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003898/0.3185, allocations: 87.38 kB / 427.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.3188, allocations: 183.4 kB / 427.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3188, allocations: 0 / 427.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/0.3634, allocations: 10.08 MB / 437.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.93, allocations: 4.062 kB / 437.6 MB, free: 9.234 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.44488579314202]