Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001315/0.001315, allocations: 114.5 kB / 18.45 MB, free: 4.609 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.00148/0.00148, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 47.92 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0881/0.08976, allocations: 49.13 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005655/0.09541, allocations: 4.149 MB / 395.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.09833, allocations: 1.69 MB / 397.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.09853, allocations: 16 kB / 397.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.1008, allocations: 1.015 MB / 398.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000601/0.1014, allocations: 238.2 kB / 398.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.103, allocations: 0.7591 MB / 399.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007241/0.1037, allocations: 0.6222 MB / 399.9 MB, free: 196 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006346/0.1044, allocations: 383.4 kB / 400.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.1047, allocations: 279 kB / 400.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.1052, allocations: 338.6 kB / 400.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.1052, allocations: 52 kB / 400.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005344/0.1058, allocations: 267.7 kB / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1059, allocations: 123.6 kB / 401.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.1062, allocations: 310.5 kB / 401.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1073, allocations: 0.9184 MB / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1073, allocations: 0 / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1073, allocations: 0 / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.1074, allocations: 4 kB / 402.5 MB, free: 13.54 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003748/0.1111, allocations: 1.22 MB / 403.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1111, allocations: 8.031 kB / 403.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.1113, allocations: 110.7 kB / 403.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.1124, allocations: 176.4 kB / 404 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1127, allocations: 257.1 kB / 404.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.1128, allocations: 50.38 kB / 404.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.1129, allocations: 64.38 kB / 404.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.1142, allocations: 0.7036 MB / 405.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1142, allocations: 3.938 kB / 405.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/0.1143, allocations: 24 kB / 405.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.1143, allocations: 20 kB / 405.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1156, allocations: 0.6063 MB / 405.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.1192, allocations: 2.301 MB / 408.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.121, allocations: 1.574 MB / 409.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/0.1216, allocations: 251.3 kB / 409.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.1217, allocations: 101.6 kB / 410 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1218, allocations: 43.12 kB / 410 MB, free: 5.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.355e-06/0.1218, allocations: 0 / 410 MB, free: 5.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001666/0.1234, allocations: 0.7057 MB / 410.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.1235, allocations: 111.4 kB / 410.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.1238, allocations: 257 kB / 411.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.1239, allocations: 37.7 kB / 411.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.124, allocations: 272.7 kB / 411.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.1242, allocations: 238 kB / 411.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.1244, allocations: 114.6 kB / 411.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1246, allocations: 350.7 kB / 412.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.1251, allocations: 209.9 kB / 412.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.1257, allocations: 305.4 kB / 412.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.1268, allocations: 0.5104 MB / 413.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1268, allocations: 0 / 413.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001312/0.1281, allocations: 0.6297 MB / 413.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1281, allocations: 4 kB / 413.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1281, allocations: 4.188 kB / 413.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1281, allocations: 8 kB / 413.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/0.1288, allocations: 159.8 kB / 413.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1289, allocations: 4 kB / 413.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.1293, allocations: 75.48 kB / 414 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.1294, allocations: 24 kB / 414 MB, free: 1.449 MB / 334.1 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.0002352/0.1296, allocations: 189.7 kB / 414.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1297, allocations: 47.69 kB / 414.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.1311, allocations: 0.6046 MB / 414.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.1311, allocations: 4 kB / 414.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1311, allocations: 4 kB / 414.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.1311, allocations: 3.984 kB / 414.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.1333, allocations: 1.282 MB / 416.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1333, allocations: 0 / 416.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.1339, allocations: 135.8 kB / 416.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1339, allocations: 4 kB / 416.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.134, allocations: 19.94 kB / 416.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.134, allocations: 7.938 kB / 416.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.134, allocations: 7.922 kB / 416.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.1357, allocations: 0.9754 MB / 417.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.1358, allocations: 120.7 kB / 417.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.1359, allocations: 19.92 kB / 417.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.1363, allocations: 23.98 kB / 417.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.1364, allocations: 48.56 kB / 417.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.1364, allocations: 16 kB / 417.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.1366, allocations: 196.5 kB / 417.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1366, allocations: 0 / 417.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005691/0.1372, allocations: 175.6 kB / 417.9 MB, free: 13.47 MB / 350.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 (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.002225/0.1394, allocations: 1.555 MB / 419.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.1406, allocations: 0.5041 MB / 419.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1406, allocations: 0 / 419.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.1411, allocations: 259 kB / 420.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.1417, allocations: 36.38 kB / 420.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006798/0.1485, allocations: 4.234 MB / 424.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.149, allocations: 0.846 MB / 425.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003363/0.1493, allocations: 79.39 kB / 425.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.1497, allocations: 187.4 kB / 425.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1497, allocations: 0 / 425.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.1876, allocations: 9.389 MB / 434.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.6/8.788, allocations: 3.938 kB / 434.9 MB, free: 12.15 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.290865468006814]