Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000805/0.000805, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008131/0.0008131, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8953/0.8953, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_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_1_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.844e-06/1.844e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001201/0.000122, allocations: 9.312 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004565/0.004687, allocations: 3.928 MB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.007149, allocations: 1.638 MB / 330.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003675/0.007517, allocations: 12 kB / 330.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.008887, allocations: 0.9958 MB / 331.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006467/0.009534, allocations: 269.9 kB / 331.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.01062, allocations: 0.7316 MB / 332.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006343/0.01125, allocations: 0.6605 MB / 332.8 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006543/0.0119, allocations: 465.3 kB / 333.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.0124, allocations: 407 kB / 333.7 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.01269, allocations: 271.2 kB / 333.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.01275, allocations: 60 kB / 334 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/0.01332, allocations: 275.5 kB / 334.3 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.0134, allocations: 143.4 kB / 334.4 MB, free: 6.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.01357, allocations: 219.4 kB / 334.6 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008619/0.01443, allocations: 1.016 MB / 335.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01444, allocations: 0 / 335.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01444, allocations: 0 / 335.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.01445, allocations: 0 / 335.6 MB, free: 4.855 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.002255/0.0167, allocations: 1.207 MB / 336.8 MB, free: 3.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.01675, allocations: 8.031 kB / 336.8 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.01686, allocations: 114.8 kB / 337 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007377/0.0176, allocations: 196.4 kB / 337.1 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.01779, allocations: 189.9 kB / 337.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/0.01783, allocations: 58.38 kB / 337.4 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.01794, allocations: 72.38 kB / 337.5 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009461/0.01888, allocations: 0.7955 MB / 338.3 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.0189, allocations: 4.141 kB / 338.3 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.01895, allocations: 40.06 kB / 338.3 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.01896, allocations: 20 kB / 338.3 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/0.01984, allocations: 0.661 MB / 339 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.02269, allocations: 2.293 MB / 341.3 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.02386, allocations: 0.8163 MB / 342.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.02425, allocations: 287.5 kB / 342.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-05/0.02433, allocations: 28.62 kB / 342.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.02436, allocations: 43.22 kB / 342.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.256e-06/0.02436, allocations: 0 / 342.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001553/0.02591, allocations: 0.9835 MB / 343.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.02597, allocations: 111.5 kB / 343.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.02621, allocations: 285.6 kB / 343.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.02624, allocations: 37.7 kB / 343.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.02638, allocations: 304.3 kB / 344.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.0265, allocations: 245.9 kB / 344.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.02664, allocations: 138.6 kB / 344.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.02675, allocations: 358.7 kB / 344.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.02705, allocations: 225.9 kB / 345.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.02743, allocations: 415.9 kB / 345.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.02815, allocations: 0.634 MB / 346.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.02815, allocations: 3.938 kB / 346.1 MB, free: 9.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00102/0.02917, allocations: 0.8383 MB / 347 MB, free: 9.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.02919, allocations: 10.66 kB / 347 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.0292, allocations: 4 kB / 347 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.02949, allocations: 129.9 kB / 347.1 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.02983, allocations: 163.7 kB / 347.3 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.03207, allocations: 3.544 MB / 350.8 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.03235, allocations: 91.55 kB / 350.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.03238, allocations: 31.98 kB / 350.9 MB, free: 4.887 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.0002104/0.03259, allocations: 198.3 kB / 351.1 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.03266, allocations: 47.72 kB / 351.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/0.03359, allocations: 0.7453 MB / 351.9 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.0336, allocations: 8 kB / 351.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.0336, allocations: 4 kB / 351.9 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.03361, allocations: 3.984 kB / 351.9 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.03517, allocations: 1.375 MB / 353.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.03517, allocations: 0 / 353.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.03542, allocations: 111.8 kB / 353.4 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.03561, allocations: 109.6 kB / 353.5 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.03564, allocations: 19.98 kB / 353.6 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.03735, allocations: 3.123 MB / 356.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.03736, allocations: 0 / 356.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.03849, allocations: 1.117 MB / 357.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.03855, allocations: 55.55 kB / 357.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.03859, allocations: 12 kB / 357.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.03877, allocations: 27.98 kB / 357.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.03887, allocations: 52.55 kB / 357.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.03889, allocations: 31.98 kB / 358 MB, free: 13.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.03902, allocations: 189.3 kB / 358.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03902, allocations: 0 / 358.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005825/0.03961, allocations: 223.6 kB / 358.4 MB, free: 13.11 MB / 330.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.001466/0.04107, allocations: 1.712 MB / 360.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.0421, allocations: 0.8484 MB / 360.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.0421, allocations: 0 / 360.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.04255, allocations: 0.5406 MB / 361.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.04288, allocations: 48.95 kB / 361.5 MB, free: 9.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.0476, allocations: 4.71 MB / 366.2 MB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.04779, allocations: 265.5 kB / 366.5 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.048, allocations: 84.34 kB / 366.6 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.0482, allocations: 204.4 kB / 366.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0482, allocations: 0 / 366.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.07751, allocations: 11.82 MB / 378.6 MB, free: 8.785 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.681, allocations: 11.92 kB / 378.6 MB, free: 8.773 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv. Warning: Get data of variable cuboidRight.port_p.reference.gamma from file Modelica_4.1.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.417503262870014]