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.001677/0.001677, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.002128/0.002128, allocations: 180.5 kB / 23.72 MB, free: 4.699 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.483/1.483, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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.002252/0.002252, allocations: 51.91 kB / 370.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3065, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006026/0.3125, allocations: 4.384 MB / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.3157, allocations: 1.654 MB / 428.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.3161, allocations: 12 kB / 428.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.3186, allocations: 1.027 MB / 429.7 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007937/0.3193, allocations: 258.2 kB / 430 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.3211, allocations: 0.801 MB / 430.8 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000929/0.3221, allocations: 0.6414 MB / 431.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008995/0.323, allocations: 470.4 kB / 431.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.3234, allocations: 282.9 kB / 432.1 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005224/0.324, allocations: 354.6 kB / 432.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3241, allocations: 59.98 kB / 432.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007352/0.3248, allocations: 263.8 kB / 432.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.3249, allocations: 147.4 kB / 433 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.3253, allocations: 326.3 kB / 433.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.3268, allocations: 0.9684 MB / 434.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3268, allocations: 0 / 434.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3268, allocations: 0 / 434.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.3268, allocations: 0 / 434.2 MB, free: 2.977 MB / 334.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.003794/0.3306, allocations: 1.203 MB / 435.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/0.3306, allocations: 8.031 kB / 435.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.3308, allocations: 126.7 kB / 435.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.3322, allocations: 204.4 kB / 435.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3324, allocations: 185.7 kB / 436 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.3325, allocations: 58.38 kB / 436 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.3326, allocations: 76.33 kB / 436.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.3341, allocations: 0.7738 MB / 436.9 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.3341, allocations: 4 kB / 436.9 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.3342, allocations: 28 kB / 436.9 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.3342, allocations: 16 kB / 436.9 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.3356, allocations: 0.6611 MB / 437.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.3399, allocations: 2.861 MB / 440.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.3418, allocations: 0.8163 MB / 441.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.3424, allocations: 299.5 kB / 441.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-05/0.3425, allocations: 16.64 kB / 441.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.3426, allocations: 43.22 kB / 441.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.3426, allocations: 0 / 441.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002607/0.3452, allocations: 0.9872 MB / 442.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/0.3453, allocations: 111.5 kB / 442.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.3456, allocations: 273.8 kB / 443 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.3456, allocations: 33.7 kB / 443 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.3458, allocations: 308.3 kB / 443.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.346, allocations: 261.8 kB / 443.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.3462, allocations: 142.6 kB / 443.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3464, allocations: 350.7 kB / 444 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.3469, allocations: 229.9 kB / 444.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.3476, allocations: 386.2 kB / 444.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.3488, allocations: 0.6337 MB / 445.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3488, allocations: 0 / 445.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001655/0.3504, allocations: 0.8306 MB / 446.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.3504, allocations: 11.28 kB / 446.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3504, allocations: 4 kB / 446.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/0.3509, allocations: 121.8 kB / 446.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.3515, allocations: 159.7 kB / 446.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.3551, allocations: 3.583 MB / 450 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.3557, allocations: 87.39 kB / 450.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.3557, allocations: 35.98 kB / 450.1 MB, free: 2.387 MB / 350.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.0003763/0.3561, allocations: 201.7 kB / 450.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3562, allocations: 39.77 kB / 450.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.3579, allocations: 0.7375 MB / 451.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.3579, allocations: 8 kB / 451.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.3579, allocations: 4 kB / 451.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3579, allocations: 11.92 kB / 451.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.3606, allocations: 1.457 MB / 452.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3606, allocations: 4 kB / 452.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.3611, allocations: 111.8 kB / 452.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003077/0.3615, allocations: 113.6 kB / 452.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.3615, allocations: 12 kB / 452.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.3645, allocations: 3.15 MB / 455.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3645, allocations: 3.938 kB / 455.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.3666, allocations: 1.117 MB / 457.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.3668, allocations: 59.55 kB / 457.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.3668, allocations: 12 kB / 457.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.3672, allocations: 32.05 kB / 457.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.3673, allocations: 52.55 kB / 457.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.3674, allocations: 23.98 kB / 457.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.3676, allocations: 189.2 kB / 457.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3676, allocations: 0 / 457.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009407/0.3686, allocations: 215.6 kB / 457.6 MB, free: 10.52 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.002648/0.3712, allocations: 1.72 MB / 459.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.373, allocations: 0.8406 MB / 460.2 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.373, allocations: 4 kB / 460.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.3738, allocations: 0.5329 MB / 460.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.3744, allocations: 44.36 kB / 460.8 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/0.3823, allocations: 4.779 MB / 465.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.3829, allocations: 0.8693 MB / 466.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003546/0.3832, allocations: 80.36 kB / 466.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.3835, allocations: 195.4 kB / 466.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3835, allocations: 4 kB / 466.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/0.4371, allocations: 11.33 MB / 478 MB, free: 5.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.58, allocations: 7.219 kB / 478 MB, free: 5.957 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.093953760999284]