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.0008265/0.0008265, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00155/0.00155, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8719/0.8719, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.513e-06/1.513e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.517e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003421/0.003436, allocations: 3.936 MB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.005029, allocations: 1.638 MB / 330.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.005162, allocations: 12 kB / 330.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.006217, allocations: 0.9949 MB / 331.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.006538, allocations: 265.9 kB / 331.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009122/0.00745, allocations: 0.7355 MB / 332.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.007824, allocations: 0.6605 MB / 332.8 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.00829, allocations: 465.3 kB / 333.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.008609, allocations: 411 kB / 333.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.008822, allocations: 271.2 kB / 333.9 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.008869, allocations: 60 kB / 334 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.009168, allocations: 275.5 kB / 334.3 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.009236, allocations: 143.4 kB / 334.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.009356, allocations: 215.4 kB / 334.6 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.009998, allocations: 1.02 MB / 335.6 MB, free: 4.852 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01, allocations: 0 / 335.6 MB, free: 4.852 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01, allocations: 0 / 335.6 MB, free: 4.852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.01001, allocations: 0 / 335.6 MB, free: 4.852 MB / 298.7 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.001872/0.01188, allocations: 1.2 MB / 336.8 MB, free: 3.617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.01192, allocations: 12.03 kB / 336.8 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.754e-05/0.012, allocations: 122.8 kB / 337 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.01266, allocations: 196.4 kB / 337.2 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.01279, allocations: 178 kB / 337.3 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.01283, allocations: 54.38 kB / 337.4 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.0129, allocations: 72.38 kB / 337.4 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.01371, allocations: 0.7994 MB / 338.2 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.01373, allocations: 12.06 kB / 338.3 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.01377, allocations: 36.12 kB / 338.3 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.01378, allocations: 16 kB / 338.3 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007807/0.01456, allocations: 0.6571 MB / 339 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.01699, allocations: 2.305 MB / 341.3 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.01806, allocations: 0.8124 MB / 342.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.01844, allocations: 291.5 kB / 342.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.25e-05/0.01851, allocations: 28.64 kB / 342.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.01853, allocations: 39.22 kB / 342.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.364e-06/0.01854, allocations: 0 / 342.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001432/0.01997, allocations: 0.9835 MB / 343.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.02002, allocations: 115.5 kB / 343.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.02021, allocations: 281.6 kB / 343.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.02024, allocations: 41.7 kB / 343.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.02036, allocations: 304.3 kB / 344.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.02048, allocations: 245.9 kB / 344.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.02061, allocations: 138.6 kB / 344.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.0207, allocations: 354.7 kB / 344.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.02098, allocations: 229.9 kB / 345.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.02135, allocations: 412.2 kB / 345.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.022, allocations: 0.6337 MB / 346.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.022, allocations: 7.875 kB / 346.1 MB, free: 9.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001082/0.02309, allocations: 0.8345 MB / 347 MB, free: 9.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.0231, allocations: 8 kB / 347 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.02311, allocations: 4 kB / 347 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.02337, allocations: 129.9 kB / 347.1 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.0237, allocations: 159.7 kB / 347.3 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.02575, allocations: 3.551 MB / 350.8 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.026, allocations: 87.56 kB / 350.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.02604, allocations: 35.98 kB / 350.9 MB, free: 4.883 MB / 314.7 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.0001826/0.02622, allocations: 194.3 kB / 351.1 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.02628, allocations: 43.72 kB / 351.2 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008893/0.02717, allocations: 0.7492 MB / 351.9 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.02717, allocations: 8 kB / 351.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.02718, allocations: 4 kB / 351.9 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.02718, allocations: 3.984 kB / 351.9 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.02878, allocations: 1.375 MB / 353.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02878, allocations: 0 / 353.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.02903, allocations: 115.8 kB / 353.4 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.0292, allocations: 113.6 kB / 353.5 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.02922, allocations: 12 kB / 353.5 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.03079, allocations: 3.119 MB / 356.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03079, allocations: 0 / 356.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.0319, allocations: 1.121 MB / 357.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.03194, allocations: 55.55 kB / 357.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.03197, allocations: 16 kB / 357.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.03216, allocations: 27.97 kB / 357.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/0.03224, allocations: 56.55 kB / 357.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.03226, allocations: 20 kB / 358 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.03238, allocations: 197.3 kB / 358.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03238, allocations: 0 / 358.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005129/0.03289, allocations: 219.6 kB / 358.4 MB, free: 13.11 MB / 330.7 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.001437/0.03433, allocations: 1.716 MB / 360.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.03538, allocations: 0.8484 MB / 360.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.03539, allocations: 0 / 360.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.0358, allocations: 0.5445 MB / 361.5 MB, free: 9.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.03611, allocations: 41.03 kB / 361.5 MB, free: 9.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.04031, allocations: 4.714 MB / 366.2 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.04047, allocations: 265.5 kB / 366.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.04067, allocations: 84.34 kB / 366.6 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.04085, allocations: 196.4 kB / 366.8 MB, free: 4.391 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04085, allocations: 0 / 366.8 MB, free: 4.391 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.0704, allocations: 11.83 MB / 378.6 MB, free: 8.781 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.304, allocations: 15.98 kB / 378.6 MB, free: 8.766 MB / 346.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.903830942697823]