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.001455/0.001455, allocations: 114.5 kB / 17.78 MB, free: 5.289 MB / 14.72 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.001667/0.001667, allocations: 190.9 kB / 20.73 MB, free: 2.352 MB / 14.72 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 1.474/1.474, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001501/0.001501, allocations: 51.92 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006263/0.1089, allocations: 4.36 MB / 422.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.112, allocations: 1.662 MB / 423.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.1122, allocations: 12 kB / 423.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.1146, allocations: 1.026 MB / 424.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006297/0.1152, allocations: 246.2 kB / 425.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.1168, allocations: 0.7931 MB / 425.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008054/0.1176, allocations: 0.6452 MB / 426.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/0.1183, allocations: 405.4 kB / 426.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003833/0.1187, allocations: 282.9 kB / 427.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.1191, allocations: 366.5 kB / 427.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.002e-05/0.1192, allocations: 56 kB / 427.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000608/0.1198, allocations: 271.7 kB / 427.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1199, allocations: 135.5 kB / 428 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.1202, allocations: 330.3 kB / 428.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.1214, allocations: 0.9573 MB / 429.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1214, allocations: 4 kB / 429.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1214, allocations: 0 / 429.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1214, allocations: 0 / 429.3 MB, free: 1.062 MB / 350.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.003674/0.1251, allocations: 1.275 MB / 430.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.1252, allocations: 12.03 kB / 430.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.1253, allocations: 118.8 kB / 430.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.1267, allocations: 208.3 kB / 430.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1269, allocations: 239.5 kB / 431.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.127, allocations: 66.3 kB / 431.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.1271, allocations: 76.33 kB / 431.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.1285, allocations: 0.7661 MB / 432 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.1285, allocations: 4 kB / 432 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.1286, allocations: 28 kB / 432.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.1286, allocations: 24 kB / 432.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.13, allocations: 0.6688 MB / 432.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.1343, allocations: 3.092 MB / 435.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.1367, allocations: 2.017 MB / 437.9 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.1374, allocations: 295.6 kB / 438.2 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.1375, allocations: 97.73 kB / 438.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.1375, allocations: 47.22 kB / 438.3 MB, free: 7.344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.1375, allocations: 0 / 438.3 MB, free: 7.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002776/0.1403, allocations: 1.138 MB / 439.4 MB, free: 6.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.1404, allocations: 115.5 kB / 439.5 MB, free: 6.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.1407, allocations: 270.5 kB / 439.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.1407, allocations: 37.7 kB / 439.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.141, allocations: 308.5 kB / 440.2 MB, free: 5.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.1412, allocations: 257.8 kB / 440.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.1414, allocations: 146.5 kB / 440.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1416, allocations: 350.7 kB / 440.9 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.1421, allocations: 233.9 kB / 441.1 MB, free: 4.414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.1427, allocations: 382.2 kB / 441.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.1439, allocations: 0.6337 MB / 442.1 MB, free: 3.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1439, allocations: 4 kB / 442.1 MB, free: 3.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001631/0.1455, allocations: 0.8269 MB / 443 MB, free: 2.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1456, allocations: 8 kB / 443 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1456, allocations: 4 kB / 443 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.146, allocations: 125.7 kB / 443.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.1466, allocations: 159.7 kB / 443.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1996/0.3462, allocations: 3.784 MB / 447 MB, free: 28.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.3469, allocations: 91.64 kB / 447.1 MB, free: 28.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.3469, allocations: 30.25 kB / 447.1 MB, free: 28.27 MB / 366.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.0002443/0.3472, allocations: 197.1 kB / 447.3 MB, free: 28.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.3473, allocations: 41.25 kB / 447.4 MB, free: 28.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.3487, allocations: 0.7484 MB / 448.1 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.3487, allocations: 8.422 kB / 448.1 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3487, allocations: 2.094 kB / 448.1 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.3487, allocations: 8.344 kB / 448.1 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.3509, allocations: 1.48 MB / 449.6 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3509, allocations: 2.203 kB / 449.6 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.3514, allocations: 112.7 kB / 449.7 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/0.3516, allocations: 117.5 kB / 449.9 MB, free: 27.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.3517, allocations: 14 kB / 449.9 MB, free: 27.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.3536, allocations: 3.354 MB / 453.2 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3536, allocations: 3.938 kB / 453.2 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.3554, allocations: 1.121 MB / 454.3 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.3554, allocations: 124 kB / 454.5 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.3555, allocations: 14.38 kB / 454.5 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.3559, allocations: 30.22 kB / 454.5 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.356, allocations: 54.36 kB / 454.6 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.3561, allocations: 19.47 kB / 454.6 MB, free: 24.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.3562, allocations: 194.9 kB / 454.8 MB, free: 24.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3562, allocations: 0 / 454.8 MB, free: 24.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008271/0.3571, allocations: 219.7 kB / 455 MB, free: 24.5 MB / 366.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.002177/0.3592, allocations: 1.724 MB / 456.7 MB, free: 23.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.361, allocations: 0.8468 MB / 457.6 MB, free: 22.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.361, allocations: 1.062 kB / 457.6 MB, free: 22.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000749/0.3617, allocations: 0.532 MB / 458.1 MB, free: 22.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.3623, allocations: 43.62 kB / 458.1 MB, free: 22.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.3689, allocations: 4.777 MB / 462.9 MB, free: 19.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3692, allocations: 0.8598 MB / 463.8 MB, free: 19.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000328/0.3695, allocations: 82.5 kB / 463.9 MB, free: 19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.3698, allocations: 200.5 kB / 464.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3698, allocations: 0 / 464.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05212/0.4219, allocations: 10.81 MB / 474.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.41, allocations: 9.859 kB / 474.9 MB, free: 15.92 MB / 366.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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: 13.891208183020353]