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.001773/0.001773, allocations: 115.8 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.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.002352/0.002352, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.002289/0.002289, allocations: 47.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2923, allocations: 53.35 MB / 431.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006073/0.2983, allocations: 4.382 MB / 435.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.3018, allocations: 1.748 MB / 437.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005665/0.3024, allocations: 12 kB / 437.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.3051, allocations: 1.035 MB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008914/0.306, allocations: 262.1 kB / 438.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.3077, allocations: 0.7613 MB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008921/0.3086, allocations: 0.6416 MB / 440 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007916/0.3094, allocations: 467.1 kB / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.3098, allocations: 294.9 kB / 440.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004536/0.3103, allocations: 354.5 kB / 441.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/0.3103, allocations: 56 kB / 441.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006184/0.311, allocations: 287.7 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3111, allocations: 143.5 kB / 441.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.3114, allocations: 326.3 kB / 441.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.3128, allocations: 0.9767 MB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3128, allocations: 4 kB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3128, allocations: 4 kB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.3128, allocations: 0 / 442.8 MB, free: 11.12 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.003773/0.3165, allocations: 1.215 MB / 444.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3166, allocations: 12.03 kB / 444.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.3167, allocations: 118.8 kB / 444.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.3181, allocations: 196.4 kB / 444.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3183, allocations: 183.3 kB / 444.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.3183, allocations: 58.38 kB / 444.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3185, allocations: 72.38 kB / 444.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.3199, allocations: 0.77 MB / 445.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.3199, allocations: 3.953 kB / 445.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.32, allocations: 32 kB / 445.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.32, allocations: 16 kB / 445.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.3214, allocations: 0.6688 MB / 446.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.3258, allocations: 2.872 MB / 449 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.3277, allocations: 0.8236 MB / 449.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.3283, allocations: 305.3 kB / 450.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.3284, allocations: 32.83 kB / 450.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.3285, allocations: 47.42 kB / 450.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.845e-06/0.3285, allocations: 3.938 kB / 450.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002617/0.3311, allocations: 0.9794 MB / 451.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.3312, allocations: 111.5 kB / 451.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.3315, allocations: 273.8 kB / 451.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.3315, allocations: 41.7 kB / 451.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.3318, allocations: 300.4 kB / 451.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.332, allocations: 257.8 kB / 452.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.3322, allocations: 142.6 kB / 452.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3324, allocations: 362.6 kB / 452.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.3329, allocations: 229.9 kB / 452.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.3335, allocations: 382.3 kB / 453.3 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3347, allocations: 0.6377 MB / 453.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3347, allocations: 0 / 453.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00158/0.3363, allocations: 0.8346 MB / 454.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3363, allocations: 4 kB / 454.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3363, allocations: 4 kB / 454.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004375/0.3367, allocations: 133.6 kB / 454.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.3374, allocations: 155.8 kB / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/0.3409, allocations: 3.579 MB / 458.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.3414, allocations: 87.38 kB / 458.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.3415, allocations: 35.98 kB / 458.7 MB, free: 10.48 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.0003062/0.3418, allocations: 197.8 kB / 458.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3419, allocations: 43.72 kB / 459 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.3435, allocations: 0.7375 MB / 459.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3435, allocations: 12 kB / 459.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3435, allocations: 4 kB / 459.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3435, allocations: 7.922 kB / 459.7 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.3461, allocations: 1.461 MB / 461.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3461, allocations: 0 / 461.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.3466, allocations: 107.9 kB / 461.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/0.3469, allocations: 113.6 kB / 461.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.347, allocations: 15.98 kB / 461.4 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002981/0.3499, allocations: 3.142 MB / 464.6 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3499, allocations: 0 / 464.6 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.3519, allocations: 1.125 MB / 465.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.352, allocations: 47.66 kB / 465.7 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.3521, allocations: 19.89 kB / 465.8 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.3525, allocations: 31.97 kB / 465.8 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3526, allocations: 52.5 kB / 465.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.3527, allocations: 27.98 kB / 465.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.3529, allocations: 193.2 kB / 466.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3529, allocations: 0 / 466.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008733/0.3537, allocations: 223.7 kB / 466.3 MB, free: 2.598 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.002444/0.3562, allocations: 1.708 MB / 468 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.3579, allocations: 0.8607 MB / 468.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3579, allocations: 0 / 468.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.3587, allocations: 0.5399 MB / 469.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3592, allocations: 44.42 kB / 469.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007657/0.3669, allocations: 4.736 MB / 474.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.3674, allocations: 0.8655 MB / 475 MB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.3677, allocations: 80.36 kB / 475.1 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.368, allocations: 207.3 kB / 475.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.368, allocations: 0 / 475.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/0.4154, allocations: 11.46 MB / 486.8 MB, free: 13.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.54, allocations: 3.938 kB / 486.8 MB, free: 13.94 MB / 398.1 MB " [Timeout remaining time 647] (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: 15.134589250003046]