Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008262/0.0008262, allocations: 72.08 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008162/0.0008162, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.879/0.879, allocations: 173.4 MB / 200.5 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.271e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003811/0.003834, allocations: 3.916 MB / 322.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.005778, allocations: 1.553 MB / 323.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.005931, allocations: 12 kB / 323.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.007106, allocations: 0.9988 MB / 324.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.007453, allocations: 262 kB / 325.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.008286, allocations: 0.747 MB / 325.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.00867, allocations: 0.6646 MB / 326.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.009173, allocations: 469.3 kB / 327 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.009504, allocations: 403 kB / 327.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.009772, allocations: 275.2 kB / 327.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.009825, allocations: 56 kB / 327.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.01014, allocations: 259.6 kB / 328 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.094e-05/0.01021, allocations: 151.3 kB / 328.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.01035, allocations: 219.4 kB / 328.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.01103, allocations: 0.9852 MB / 329.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.01103, allocations: 3.938 kB / 329.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.01103, allocations: 0 / 329.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.01104, allocations: 3.984 kB / 329.4 MB, free: 11.37 MB / 298.7 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.001925/0.01297, allocations: 1.188 MB / 330.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.013, allocations: 8.922 kB / 330.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.991e-05/0.01309, allocations: 114.8 kB / 330.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/0.01378, allocations: 216.3 kB / 330.9 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.01392, allocations: 192.7 kB / 331.1 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.01395, allocations: 58.31 kB / 331.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.01403, allocations: 72.38 kB / 331.2 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008562/0.01489, allocations: 0.7916 MB / 332 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.01491, allocations: 192 / 332 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.01495, allocations: 36.11 kB / 332 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01496, allocations: 20 kB / 332.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.01579, allocations: 0.661 MB / 332.7 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.01818, allocations: 2.262 MB / 335 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.01928, allocations: 0.8366 MB / 335.8 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.01968, allocations: 291.7 kB / 336.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.01974, allocations: 24.64 kB / 336.1 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01976, allocations: 47.44 kB / 336.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.084e-06/0.01977, allocations: 0 / 336.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001507/0.02127, allocations: 0.9755 MB / 337.1 MB, free: 3.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.02132, allocations: 111.5 kB / 337.3 MB, free: 3.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.02152, allocations: 285.6 kB / 337.5 MB, free: 2.949 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.02155, allocations: 41.7 kB / 337.6 MB, free: 2.902 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.02168, allocations: 300.4 kB / 337.9 MB, free: 2.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.02179, allocations: 253.8 kB / 338.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.02193, allocations: 138.6 kB / 338.2 MB, free: 2.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.02202, allocations: 350.7 kB / 338.6 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.02233, allocations: 237.9 kB / 338.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.02272, allocations: 411.9 kB / 339.2 MB, free: 1.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/0.02344, allocations: 0.6337 MB / 339.9 MB, free: 484 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.02344, allocations: 4 kB / 339.9 MB, free: 480 kB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009939/0.02444, allocations: 0.8268 MB / 340.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.02445, allocations: 10.81 kB / 340.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.02446, allocations: 4 kB / 340.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.02472, allocations: 129.7 kB / 340.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.02504, allocations: 155.8 kB / 341 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.02719, allocations: 3.555 MB / 344.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.02744, allocations: 83.44 kB / 344.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.02747, allocations: 36.12 kB / 344.7 MB, free: 11.44 MB / 314.7 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.0001691/0.02764, allocations: 201.6 kB / 344.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.0277, allocations: 43.72 kB / 344.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009169/0.02861, allocations: 0.7414 MB / 345.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.02862, allocations: 8 kB / 345.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02862, allocations: 12.16 kB / 345.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02863, allocations: 3.984 kB / 345.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.03027, allocations: 1.383 MB / 347 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.03027, allocations: 4 kB / 347 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.03052, allocations: 111.9 kB / 347.2 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.0307, allocations: 105.6 kB / 347.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.03072, allocations: 16 kB / 347.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.03249, allocations: 3.115 MB / 350.4 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.03249, allocations: 4.109 kB / 350.4 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.03364, allocations: 1.113 MB / 351.5 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.03368, allocations: 63.48 kB / 351.6 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.03371, allocations: 16.06 kB / 351.6 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.0339, allocations: 31.97 kB / 351.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.03399, allocations: 56.5 kB / 351.7 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.03402, allocations: 19.98 kB / 351.7 MB, free: 4.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.03415, allocations: 193.2 kB / 351.9 MB, free: 3.867 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03415, allocations: 0 / 351.9 MB, free: 3.867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004835/0.03464, allocations: 211.7 kB / 352.1 MB, free: 3.66 MB / 314.7 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.001776/0.03641, allocations: 1.708 MB / 353.8 MB, free: 1.918 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009489/0.03736, allocations: 0.8528 MB / 354.6 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.03736, allocations: 256 / 354.6 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.0378, allocations: 0.5399 MB / 355.2 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.03812, allocations: 39.44 kB / 355.2 MB, free: 448 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.0428, allocations: 4.737 MB / 360 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.04298, allocations: 265.5 kB / 360.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.04319, allocations: 84.36 kB / 360.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.04338, allocations: 196.4 kB / 360.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of SimCode: time 5e-07/0.04338, allocations: 0 / 360.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.07086, allocations: 11.64 MB / 372.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.497, allocations: 6.938 kB / 372.1 MB, free: 15.5 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv. Warning: Get data of variable cuboidRight.port_p.reference.gamma from file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.222830032929778]