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.00148/0.00148, allocations: 107.8 kB / 18.48 MB, free: 4.543 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.001475/0.001475, allocations: 198.6 kB / 21.43 MB, free: 1.609 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.363/1.363, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 47.92 kB / 366.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.0931, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005529/0.09863, allocations: 4.356 MB / 422.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1012, allocations: 1.658 MB / 424.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.1013, allocations: 16 kB / 424.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.1035, allocations: 1.022 MB / 425.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.1041, allocations: 254.2 kB / 425.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1056, allocations: 0.7935 MB / 426.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.1062, allocations: 0.6375 MB / 427.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006129/0.1068, allocations: 417.3 kB / 427.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.1072, allocations: 279 kB / 427.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.1076, allocations: 354.5 kB / 428.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.1076, allocations: 56 kB / 428.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.1081, allocations: 271.7 kB / 428.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1082, allocations: 143.5 kB / 428.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.1085, allocations: 334.3 kB / 429 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.1096, allocations: 0.9535 MB / 430 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1096, allocations: 0 / 430 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1096, allocations: 4 kB / 430 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1096, allocations: 0 / 430 MB, free: 1.035 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.003602/0.1132, allocations: 1.275 MB / 431.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1132, allocations: 12.03 kB / 431.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.377e-05/0.1133, allocations: 22.19 kB / 431.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.1134, allocations: 118.8 kB / 431.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.1147, allocations: 212.3 kB / 431.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.115, allocations: 235.5 kB / 431.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.115, allocations: 58.38 kB / 431.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.1151, allocations: 76.33 kB / 432 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.1166, allocations: 0.7776 MB / 432.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.1166, allocations: 3.938 kB / 432.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/0.1166, allocations: 32 kB / 432.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.1167, allocations: 16 kB / 432.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.118, allocations: 0.661 MB / 433.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.1222, allocations: 3.1 MB / 436.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.1246, allocations: 2.01 MB / 438.6 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006368/0.1253, allocations: 307.6 kB / 438.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.1254, allocations: 97.73 kB / 439 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1254, allocations: 39.22 kB / 439 MB, free: 7.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.354e-06/0.1254, allocations: 0 / 439 MB, free: 7.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002699/0.1281, allocations: 1.138 MB / 440.2 MB, free: 6.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.1282, allocations: 111.5 kB / 440.3 MB, free: 5.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.1285, allocations: 274.7 kB / 440.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.1286, allocations: 37.7 kB / 440.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.1288, allocations: 312.3 kB / 440.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.129, allocations: 253.8 kB / 441.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.1292, allocations: 142.6 kB / 441.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1293, allocations: 354.7 kB / 441.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/0.1299, allocations: 229.9 kB / 441.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.1305, allocations: 390.2 kB / 442.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.1317, allocations: 0.6337 MB / 442.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1317, allocations: 0 / 442.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001623/0.1333, allocations: 0.8268 MB / 443.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1334, allocations: 4 kB / 443.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1334, allocations: 7.984 kB / 443.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.1338, allocations: 129.7 kB / 443.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.1344, allocations: 159.7 kB / 444 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1635/0.2979, allocations: 3.783 MB / 447.7 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.2985, allocations: 89.91 kB / 447.8 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.2985, allocations: 32.27 kB / 447.9 MB, free: 28.34 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.0002278/0.2988, allocations: 201.9 kB / 448.1 MB, free: 28.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/0.2989, allocations: 41.55 kB / 448.1 MB, free: 28.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.3003, allocations: 0.7395 MB / 448.8 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3003, allocations: 7.469 kB / 448.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3003, allocations: 3.125 kB / 448.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.3003, allocations: 6.75 kB / 448.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.3024, allocations: 1.487 MB / 450.3 MB, free: 27.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3024, allocations: 8.609 kB / 450.4 MB, free: 27.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.3028, allocations: 109.6 kB / 450.5 MB, free: 27.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.3031, allocations: 111.2 kB / 450.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.3031, allocations: 15.39 kB / 450.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.305, allocations: 3.353 MB / 453.9 MB, free: 25.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.305, allocations: 3.688 kB / 453.9 MB, free: 25.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.3069, allocations: 1.121 MB / 455.1 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.307, allocations: 123.1 kB / 455.2 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.307, allocations: 15.14 kB / 455.2 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.3074, allocations: 28.52 kB / 455.2 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3075, allocations: 55.08 kB / 455.3 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.3076, allocations: 22.27 kB / 455.3 MB, free: 24.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3077, allocations: 190.7 kB / 455.5 MB, free: 24.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3077, allocations: 1.75 kB / 455.5 MB, free: 24.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000731/0.3084, allocations: 218.5 kB / 455.7 MB, free: 24.54 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.00208/0.3105, allocations: 1.726 MB / 457.4 MB, free: 23.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.3121, allocations: 0.8534 MB / 458.3 MB, free: 23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3121, allocations: 0 / 458.3 MB, free: 23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.3128, allocations: 0.5341 MB / 458.8 MB, free: 22.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.3133, allocations: 37.48 kB / 458.9 MB, free: 22.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/0.3195, allocations: 4.775 MB / 463.6 MB, free: 19.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3198, allocations: 0.8643 MB / 464.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000305/0.3201, allocations: 79.44 kB / 464.6 MB, free: 19.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.3203, allocations: 199.2 kB / 464.8 MB, free: 18.89 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3203, allocations: 1.5 kB / 464.8 MB, free: 18.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03938/0.3597, allocations: 10.87 MB / 475.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.85, allocations: 3.375 kB / 475.6 MB, free: 15.95 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.186470607994124]