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.001302/0.001302, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001466/0.001466, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.001626/0.001626, allocations: 55.92 kB / 377.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2405, allocations: 53.35 MB / 431.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005888/0.2464, allocations: 3.938 MB / 435 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.2496, allocations: 1.615 MB / 436.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.2499, allocations: 12 kB / 436.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.2523, allocations: 0.9603 MB / 437.6 MB, free: 148 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009208/0.2533, allocations: 254.2 kB / 437.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.2551, allocations: 0.7202 MB / 438.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009108/0.256, allocations: 0.6338 MB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007883/0.2568, allocations: 460.8 kB / 439.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.2572, allocations: 282.9 kB / 439.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.2577, allocations: 322.5 kB / 440.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.373e-05/0.2577, allocations: 56 kB / 440.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005991/0.2583, allocations: 271.8 kB / 440.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.2585, allocations: 139.5 kB / 440.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.2587, allocations: 266.7 kB / 441 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.2599, allocations: 0.9816 MB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2599, allocations: 4 kB / 442 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2599, allocations: 0 / 442 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.2599, allocations: 0 / 442 MB, free: 11.78 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.0037/0.2636, allocations: 1.211 MB / 443.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2636, allocations: 16.03 kB / 443.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.2638, allocations: 118.8 kB / 443.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.2651, allocations: 196.4 kB / 443.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.2654, allocations: 181.7 kB / 443.7 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.2655, allocations: 58.31 kB / 443.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.2656, allocations: 72.38 kB / 443.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.267, allocations: 0.799 MB / 444.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.267, allocations: 4 kB / 444.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.2671, allocations: 28 kB / 444.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.2671, allocations: 20 kB / 444.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.2685, allocations: 0.661 MB / 445.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.2727, allocations: 2.291 MB / 447.6 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.2746, allocations: 0.8281 MB / 448.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006219/0.2753, allocations: 291.4 kB / 448.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.2754, allocations: 36.62 kB / 448.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.2754, allocations: 39.22 kB / 448.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.016e-06/0.2754, allocations: 0 / 448.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002608/0.278, allocations: 0.9832 MB / 449.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/0.2781, allocations: 115.5 kB / 449.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.2784, allocations: 285.6 kB / 450.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.2785, allocations: 37.7 kB / 450.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.2787, allocations: 304.3 kB / 450.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.2789, allocations: 253.8 kB / 450.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.2791, allocations: 134.6 kB / 450.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2793, allocations: 358.7 kB / 451.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.2798, allocations: 225.9 kB / 451.4 MB, free: 2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.2804, allocations: 416 kB / 451.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.2817, allocations: 0.6376 MB / 452.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2817, allocations: 0 / 452.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001652/0.2833, allocations: 0.8388 MB / 453.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2833, allocations: 8 kB / 453.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2834, allocations: 4 kB / 453.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004033/0.2838, allocations: 125.7 kB / 453.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.2844, allocations: 155.8 kB / 453.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/0.2881, allocations: 3.559 MB / 457.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.2886, allocations: 83.42 kB / 457.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/0.2887, allocations: 32 kB / 457.3 MB, free: 11.8 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.0003318/0.289, allocations: 208 kB / 457.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.2892, allocations: 43.72 kB / 457.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.2908, allocations: 0.7451 MB / 458.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.2908, allocations: 8 kB / 458.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2908, allocations: 7.984 kB / 458.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2908, allocations: 3.938 kB / 458.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.2935, allocations: 1.379 MB / 459.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.2935, allocations: 4 kB / 459.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.294, allocations: 107.9 kB / 459.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000314/0.2943, allocations: 113.6 kB / 459.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.2943, allocations: 15.98 kB / 459.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.2974, allocations: 3.123 MB / 463 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2975, allocations: 4.031 kB / 463 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.2995, allocations: 1.121 MB / 464.2 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2996, allocations: 51.58 kB / 464.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.2997, allocations: 12 kB / 464.2 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.3001, allocations: 27.98 kB / 464.2 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.3003, allocations: 52.55 kB / 464.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.3003, allocations: 23.98 kB / 464.3 MB, free: 4.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.3006, allocations: 189.2 kB / 464.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3006, allocations: 0 / 464.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009736/0.3015, allocations: 223.6 kB / 464.7 MB, free: 4.02 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.002666/0.3042, allocations: 1.72 MB / 466.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.306, allocations: 0.8529 MB / 467.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.306, allocations: 0 / 467.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009221/0.3069, allocations: 0.532 MB / 467.8 MB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.3075, allocations: 36.5 kB / 467.9 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008092/0.3156, allocations: 4.754 MB / 472.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3159, allocations: 269.5 kB / 472.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003493/0.3162, allocations: 84.34 kB / 473 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.3166, allocations: 199.4 kB / 473.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3166, allocations: 0 / 473.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05201/0.3686, allocations: 11.68 MB / 484.8 MB, free: 15.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.21, allocations: 0 / 484.8 MB, free: 15.79 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.694857447873801]