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.001635/0.001635, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001412/0.001412, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.444/1.444, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001782/0.001782, allocations: 52.06 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.271, allocations: 52.18 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006041/0.277, allocations: 3.936 MB / 426.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002915/0.2799, allocations: 1.545 MB / 428.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.2803, allocations: 12 kB / 428.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.2828, allocations: 0.9485 MB / 429 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008049/0.2836, allocations: 262.1 kB / 429.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.2855, allocations: 0.7396 MB / 430 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.2865, allocations: 0.6414 MB / 430.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.2874, allocations: 459.4 kB / 431.1 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005678/0.2879, allocations: 279 kB / 431.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.2886, allocations: 322.5 kB / 431.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.2887, allocations: 59.94 kB / 431.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008913/0.2896, allocations: 251.8 kB / 432 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.2898, allocations: 147.5 kB / 432.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.2903, allocations: 262.7 kB / 432.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.2919, allocations: 0.9651 MB / 433.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2919, allocations: 0 / 433.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2919, allocations: 0 / 433.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.2919, allocations: 4 kB / 433.4 MB, free: 3.734 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.004091/0.296, allocations: 1.196 MB / 434.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.2961, allocations: 12.03 kB / 434.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.2963, allocations: 126.7 kB / 434.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.2978, allocations: 208.3 kB / 434.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.298, allocations: 185.6 kB / 435.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.2981, allocations: 54.38 kB / 435.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.2982, allocations: 80.31 kB / 435.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.2998, allocations: 0.799 MB / 436 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.2998, allocations: 4 kB / 436 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.2999, allocations: 32 kB / 436 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.2999, allocations: 16 kB / 436.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.3014, allocations: 0.6571 MB / 436.7 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.3056, allocations: 2.264 MB / 439 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.3076, allocations: 0.8087 MB / 439.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.3082, allocations: 291.5 kB / 440.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-05/0.3083, allocations: 24.64 kB / 440.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3083, allocations: 39.22 kB / 440.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.3083, allocations: 0 / 440.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002664/0.311, allocations: 0.9873 MB / 441.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.3111, allocations: 111.5 kB / 441.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.3114, allocations: 281.7 kB / 441.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.3115, allocations: 37.7 kB / 441.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.3117, allocations: 308.3 kB / 441.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.3119, allocations: 253.8 kB / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.3122, allocations: 138.6 kB / 442.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3124, allocations: 358.7 kB / 442.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.3129, allocations: 233.9 kB / 442.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.3136, allocations: 408.2 kB / 443.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3148, allocations: 0.6298 MB / 443.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3149, allocations: 7.938 kB / 443.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001756/0.3166, allocations: 0.8346 MB / 444.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3166, allocations: 4 kB / 444.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3166, allocations: 4 kB / 444.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004228/0.3171, allocations: 133.7 kB / 444.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/0.3177, allocations: 163.7 kB / 445 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003786/0.3215, allocations: 3.545 MB / 448.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.322, allocations: 87.39 kB / 448.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.3221, allocations: 35.98 kB / 448.6 MB, free: 3.801 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.00029/0.3224, allocations: 201.7 kB / 448.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.3225, allocations: 47.66 kB / 448.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.3241, allocations: 0.7375 MB / 449.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3241, allocations: 8 kB / 449.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.3242, allocations: 4 kB / 449.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3242, allocations: 11.92 kB / 449.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.3268, allocations: 1.363 MB / 451 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.3268, allocations: 7.984 kB / 451 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.3273, allocations: 119.8 kB / 451.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003015/0.3276, allocations: 105.6 kB / 451.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.3277, allocations: 16 kB / 451.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/0.3308, allocations: 3.118 MB / 454.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.3309, allocations: 3.984 kB / 454.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.3331, allocations: 1.129 MB / 455.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3332, allocations: 47.59 kB / 455.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.3332, allocations: 16.06 kB / 455.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.3336, allocations: 31.98 kB / 455.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3337, allocations: 52.55 kB / 455.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.3338, allocations: 23.98 kB / 455.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.334, allocations: 185.2 kB / 455.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.334, allocations: 0 / 455.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008599/0.3349, allocations: 223.6 kB / 456.1 MB, free: 12.03 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.002626/0.3375, allocations: 1.712 MB / 457.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.3393, allocations: 0.8491 MB / 458.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3393, allocations: 0 / 458.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008833/0.3402, allocations: 0.5361 MB / 459.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.3407, allocations: 50.3 kB / 459.2 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007861/0.3485, allocations: 4.764 MB / 464 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3489, allocations: 265.5 kB / 464.2 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.3492, allocations: 80.36 kB / 464.3 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.3495, allocations: 203.4 kB / 464.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3495, allocations: 0 / 464.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04967/0.3992, allocations: 11.49 MB / 476 MB, free: 7.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.24, allocations: 7.234 kB / 476 MB, free: 7.98 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.711475923191756]