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.001298/0.001298, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001482/0.001482, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001568/0.001568, allocations: 47.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006191/0.1116, allocations: 4.363 MB / 430.7 MB, free: 420 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1977/0.3093, allocations: 1.729 MB / 432.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.3098, allocations: 11.09 kB / 432.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.3121, allocations: 1.03 MB / 433.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007955/0.3129, allocations: 253.7 kB / 433.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3145, allocations: 0.7703 MB / 434.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008286/0.3153, allocations: 0.6406 MB / 435.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007592/0.316, allocations: 401.1 kB / 435.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/0.3166, allocations: 281.3 kB / 435.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.3171, allocations: 358.9 kB / 436.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.3173, allocations: 56.53 kB / 436.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009227/0.3182, allocations: 293.7 kB / 436.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3183, allocations: 138.5 kB / 436.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.3187, allocations: 329.6 kB / 436.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3201, allocations: 0.98 MB / 437.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3202, allocations: 0.5938 kB / 437.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3202, allocations: 4 kB / 437.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.3202, allocations: 1.312 kB / 437.9 MB, free: 6.32 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.004014/0.3242, allocations: 1.286 MB / 439.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3242, allocations: 10.34 kB / 439.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.3244, allocations: 120.9 kB / 439.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.3258, allocations: 197.8 kB / 439.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3261, allocations: 243.2 kB / 439.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.3261, allocations: 52.53 kB / 439.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.3263, allocations: 76.81 kB / 439.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.3278, allocations: 0.7707 MB / 440.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.3278, allocations: 6.25 kB / 440.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.547e-05/0.3279, allocations: 29.47 kB / 440.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3279, allocations: 18.62 kB / 440.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.3293, allocations: 0.6633 MB / 441.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004506/0.3338, allocations: 3.269 MB / 444.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.3359, allocations: 2.013 MB / 446.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/0.3365, allocations: 298.2 kB / 446.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.3367, allocations: 191.9 kB / 447.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.3367, allocations: 40.2 kB / 447.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.956e-06/0.3367, allocations: 1.094 kB / 447.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002838/0.3396, allocations: 1.137 MB / 448.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.3396, allocations: 111.3 kB / 448.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.34, allocations: 279.2 kB / 448.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.3401, allocations: 37.11 kB / 448.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.3403, allocations: 297 kB / 449 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.3406, allocations: 263.8 kB / 449.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.3408, allocations: 137.2 kB / 449.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.341, allocations: 356 kB / 449.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.3416, allocations: 228.4 kB / 450 MB, free: 14.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.3423, allocations: 386.6 kB / 450.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.3436, allocations: 0.6367 MB / 451 MB, free: 13.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3436, allocations: 4 kB / 451 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001841/0.3454, allocations: 0.8363 MB / 451.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.3454, allocations: 6.375 kB / 451.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3455, allocations: 9.094 kB / 451.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.3459, allocations: 126.8 kB / 452 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.3466, allocations: 154.8 kB / 452.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/0.3505, allocations: 3.798 MB / 455.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/0.3513, allocations: 81.08 kB / 456 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-05/0.3513, allocations: 33.42 kB / 456 MB, free: 9.539 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.0003862/0.3517, allocations: 198.9 kB / 456.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.3519, allocations: 45.3 kB / 456.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.3536, allocations: 0.7387 MB / 457 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3536, allocations: 10.88 kB / 457 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3536, allocations: 3.453 kB / 457 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.3536, allocations: 8.688 kB / 457 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.3567, allocations: 1.489 MB / 458.5 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.3567, allocations: 0 / 458.5 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.3572, allocations: 110.8 kB / 458.6 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/0.3576, allocations: 115.7 kB / 458.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-05/0.3577, allocations: 18.62 kB / 458.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.361, allocations: 3.347 MB / 462.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.361, allocations: 0.875 kB / 462.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.3634, allocations: 1.12 MB / 463.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.3636, allocations: 135.4 kB / 463.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.3636, allocations: 13.89 kB / 463.4 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.364, allocations: 30.2 kB / 463.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.3642, allocations: 47.97 kB / 463.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.3642, allocations: 25.02 kB / 463.5 MB, free: 4.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.3645, allocations: 189.8 kB / 463.7 MB, free: 4.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3645, allocations: 0 / 463.7 MB, free: 4.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3655, allocations: 219 kB / 463.9 MB, free: 4.102 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.002651/0.3682, allocations: 1.72 MB / 465.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.3701, allocations: 0.8474 MB / 466.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.3701, allocations: 0 / 466.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.3711, allocations: 0.5373 MB / 467 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.3717, allocations: 40.3 kB / 467 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008679/0.3804, allocations: 4.757 MB / 471.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/0.381, allocations: 0.8706 MB / 472.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.3814, allocations: 78.19 kB / 472.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.3817, allocations: 198.4 kB / 472.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3818, allocations: 0 / 472.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06133/0.4431, allocations: 10.93 MB / 483.8 MB, free: 5.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.07, allocations: 11.98 kB / 483.9 MB, free: 5.562 MB / 382.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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: 13.670847734989366]