Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.0006845/0.0006845, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007798/0.0007798, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9016/0.9016, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.CylinderSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.378e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00325/0.003264, allocations: 3.807 MB / 328.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.005197, allocations: 1.642 MB / 330 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.005354, allocations: 12 kB / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.006449, allocations: 0.9796 MB / 331 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.006764, allocations: 262 kB / 331.3 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.00755, allocations: 0.7188 MB / 332 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.007913, allocations: 0.6372 MB / 332.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.008369, allocations: 431.4 kB / 333.1 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.008694, allocations: 383.2 kB / 333.4 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.008907, allocations: 251.3 kB / 333.7 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.008962, allocations: 52 kB / 333.7 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.009268, allocations: 287.5 kB / 334 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.009331, allocations: 131.5 kB / 334.1 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.009453, allocations: 207.5 kB / 334.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.01011, allocations: 0.9735 MB / 335.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.01011, allocations: 0 / 335.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01011, allocations: 4 kB / 335.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.01012, allocations: 0 / 335.3 MB, free: 5.164 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002062/0.01218, allocations: 1.161 MB / 336.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.01221, allocations: 8.031 kB / 336.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.22e-05/0.01229, allocations: 114.7 kB / 336.6 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005935/0.01289, allocations: 180.4 kB / 336.8 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.013, allocations: 177.7 kB / 336.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.01303, allocations: 50.38 kB / 337 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.0131, allocations: 68.33 kB / 337.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007648/0.01387, allocations: 0.733 MB / 337.8 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.01388, allocations: 192 / 337.8 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.01393, allocations: 36.12 kB / 337.8 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.01394, allocations: 20 kB / 337.8 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007308/0.01467, allocations: 0.5946 MB / 338.4 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.01663, allocations: 1.869 MB / 340.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007844/0.01742, allocations: 0.6702 MB / 341 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.0177, allocations: 255.5 kB / 341.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.01779, allocations: 28.58 kB / 341.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.01782, allocations: 39.22 kB / 341.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.603e-06/0.01782, allocations: 0 / 341.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009079/0.01873, allocations: 0.7085 MB / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.01878, allocations: 115.5 kB / 342.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.01897, allocations: 269.6 kB / 342.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.019, allocations: 37.7 kB / 342.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.0191, allocations: 264.8 kB / 342.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.01921, allocations: 237.9 kB / 342.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.01933, allocations: 118.6 kB / 343 MB, free: 13.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003495/0.01967, allocations: 350.8 kB / 343.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.01995, allocations: 214 kB / 343.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.02028, allocations: 327.1 kB / 343.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.02088, allocations: 0.5185 MB / 344.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.02088, allocations: 0 / 344.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007223/0.02161, allocations: 0.6338 MB / 345 MB, free: 11.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.02162, allocations: 8 kB / 345.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.02163, allocations: 0 / 345.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.02164, allocations: 4 kB / 345.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.022, allocations: 163.7 kB / 345.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.02201, allocations: 8 kB / 345.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.02221, allocations: 67.55 kB / 345.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.02224, allocations: 28 kB / 345.3 MB, free: 10.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.02239, allocations: 193.6 kB / 345.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.02244, allocations: 43.7 kB / 345.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.02316, allocations: 0.5951 MB / 346.1 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.02317, allocations: 8 kB / 346.2 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02317, allocations: 0 / 346.2 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.02318, allocations: 11.92 kB / 346.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.02447, allocations: 1.19 MB / 347.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.02448, allocations: 3.984 kB / 347.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.02475, allocations: 127.9 kB / 347.5 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.02476, allocations: 0 / 347.5 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.02478, allocations: 12 kB / 347.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.02478, allocations: 4 kB / 347.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02478, allocations: 7.875 kB / 347.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/0.02576, allocations: 0.9823 MB / 348.5 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.0258, allocations: 43.67 kB / 348.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.02584, allocations: 12 kB / 348.5 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.02602, allocations: 27.97 kB / 348.6 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.02608, allocations: 48.58 kB / 348.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.0261, allocations: 23.98 kB / 348.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.02623, allocations: 197.2 kB / 348.8 MB, free: 7.234 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02623, allocations: 0 / 348.8 MB, free: 7.234 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.02658, allocations: 187.5 kB / 349 MB, free: 7.051 MB / 314.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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/0.02809, allocations: 1.566 MB / 350.6 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006303/0.02873, allocations: 0.5052 MB / 351.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.02873, allocations: 0 / 351.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.02901, allocations: 248 kB / 351.3 MB, free: 4.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.02935, allocations: 56.48 kB / 351.4 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.03318, allocations: 4.175 MB / 355.6 MB, free: 364 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.03333, allocations: 245.1 kB / 355.8 MB, free: 92 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.03353, allocations: 79.39 kB / 355.9 MB, free: 12 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.03373, allocations: 188.5 kB / 356.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03373, allocations: 0 / 356.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.05475, allocations: 10.4 MB / 366.5 MB, free: 5.645 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.226, allocations: 0 / 366.5 MB, free: 5.645 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_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_CylinderSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable hollowCylinderAxialOuter.port_p.reference.gamma in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.917168594896793]