Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.001326/0.001326, 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.001469/0.001469, 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.456/1.456, 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.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.001731/0.001731, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2864, allocations: 49.16 MB / 396.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004911/0.2913, allocations: 4.325 MB / 400.7 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.2943, allocations: 1.706 MB / 402.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.2946, allocations: 11.84 kB / 402.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.297, allocations: 1.023 MB / 403.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.2978, allocations: 253.2 kB / 403.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.2994, allocations: 0.7639 MB / 404.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007563/0.3001, allocations: 0.642 MB / 405.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007125/0.3008, allocations: 477.3 kB / 405.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003599/0.3012, allocations: 279.8 kB / 405.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004358/0.3016, allocations: 362.8 kB / 406.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.905e-05/0.3017, allocations: 55.22 kB / 406.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006975/0.3024, allocations: 270.4 kB / 406.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3025, allocations: 140.8 kB / 406.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.3028, allocations: 323 kB / 406.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.3041, allocations: 0.9581 MB / 407.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3041, allocations: 0.6094 kB / 407.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3041, allocations: 4 kB / 407.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.3041, allocations: 0 / 407.9 MB, free: 1.797 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003504/0.3076, allocations: 1.2 MB / 409.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3077, allocations: 13.67 kB / 409.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.3078, allocations: 124.8 kB / 409.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.3091, allocations: 208.2 kB / 409.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3093, allocations: 188.8 kB / 409.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.3094, allocations: 63.98 kB / 409.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3095, allocations: 72.2 kB / 409.8 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.3108, allocations: 0.765 MB / 410.5 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.3109, allocations: 13.39 kB / 410.5 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.3109, allocations: 31.16 kB / 410.6 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.3109, allocations: 17.41 kB / 410.6 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.3122, allocations: 0.6689 MB / 411.3 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/0.3167, allocations: 2.85 MB / 414.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.3185, allocations: 0.8137 MB / 414.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/0.3191, allocations: 289.8 kB / 415.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.516e-05/0.3192, allocations: 21.45 kB / 415.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3192, allocations: 38.38 kB / 415.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.3193, allocations: 0 / 415.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002563/0.3218, allocations: 0.9921 MB / 416.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.3219, allocations: 111.1 kB / 416.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.3222, allocations: 277.5 kB / 416.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.3223, allocations: 35.83 kB / 416.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.3225, allocations: 302.2 kB / 417 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.3227, allocations: 258.8 kB / 417.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.3229, allocations: 137.7 kB / 417.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3231, allocations: 356.4 kB / 417.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.3236, allocations: 228.5 kB / 417.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/0.3243, allocations: 385 kB / 418.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.3255, allocations: 0.6374 MB / 418.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.3255, allocations: 1.156 kB / 418.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001698/0.3272, allocations: 0.8366 MB / 419.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3272, allocations: 6.75 kB / 419.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3272, allocations: 2.969 kB / 419.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.3276, allocations: 123.6 kB / 419.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.3283, allocations: 164.1 kB / 420.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.3318, allocations: 3.585 MB / 423.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/0.3323, allocations: 86.7 kB / 423.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.3324, allocations: 35 kB / 423.8 MB, free: 6.453 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003496/0.3328, allocations: 194.8 kB / 424 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3329, allocations: 47.8 kB / 424 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.3345, allocations: 0.7373 MB / 424.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.3345, allocations: 7.75 kB / 424.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3345, allocations: 2.312 kB / 424.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3345, allocations: 9.016 kB / 424.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.3371, allocations: 1.453 MB / 426.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3371, allocations: 0 / 426.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.3376, allocations: 119.8 kB / 426.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/0.3379, allocations: 110 kB / 426.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.338, allocations: 19.98 kB / 426.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.341, allocations: 3.15 MB / 429.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.341, allocations: 3.984 kB / 429.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.343, allocations: 1.117 MB / 430.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.3432, allocations: 55.52 kB / 430.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.3432, allocations: 12 kB / 430.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.3436, allocations: 27.97 kB / 430.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3437, allocations: 60.61 kB / 430.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.3438, allocations: 23.88 kB / 430.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.344, allocations: 197.2 kB / 431.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.344, allocations: 0 / 431.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008682/0.3449, allocations: 211.7 kB / 431.3 MB, free: 15.31 MB / 350.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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002516/0.3474, allocations: 1.708 MB / 433 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.3492, allocations: 0.8526 MB / 433.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3492, allocations: 0 / 433.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008339/0.35, allocations: 0.5321 MB / 434.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.3506, allocations: 41 kB / 434.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/0.3583, allocations: 4.776 MB / 439.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.3589, allocations: 0.8616 MB / 440.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003368/0.3592, allocations: 88.34 kB / 440.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.3595, allocations: 199.4 kB / 440.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3595, allocations: 0 / 440.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0471/0.4066, allocations: 11.32 MB / 451.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.48, allocations: 15.73 kB / 451.7 MB, free: 10.56 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_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_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_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/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cuboidRight.port_p.reference.gamma in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv. Warning: Get data of variable cuboidRight.port_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.013250292999146]