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.001079/0.001079, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003754/0.003754, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8471/0.8471, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.968e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.1323/0.1323, allocations: 3.742 MB / 302.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1343, allocations: 1.579 MB / 303.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.1345, allocations: 10.12 kB / 303.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.1358, allocations: 0.9881 MB / 304.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.1363, allocations: 250.6 kB / 305 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1374, allocations: 0.7189 MB / 305.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.1379, allocations: 0.6498 MB / 306.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/0.1384, allocations: 434.2 kB / 306.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.1389, allocations: 394.2 kB / 307.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.1392, allocations: 257.1 kB / 307.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.1392, allocations: 52.88 kB / 307.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.1397, allocations: 254.7 kB / 307.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.1397, allocations: 134.5 kB / 307.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1399, allocations: 209.5 kB / 308.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008639/0.1407, allocations: 0.953 MB / 309 MB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1407, allocations: 1.672 kB / 309 MB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1407, allocations: 1.875 kB / 309 MB, free: 10.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1408, allocations: 0 / 309 MB, free: 10.94 MB / 282.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.002142/0.1429, allocations: 1.137 MB / 310.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1429, allocations: 18.66 kB / 310.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.586e-05/0.143, allocations: 112 kB / 310.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006376/0.1437, allocations: 175.8 kB / 310.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1438, allocations: 184.6 kB / 310.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.1439, allocations: 52.69 kB / 310.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.355e-05/0.144, allocations: 69.14 kB / 310.8 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.145, allocations: 0.7272 MB / 311.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.145, allocations: 1.781 kB / 311.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.1451, allocations: 30.81 kB / 311.5 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.1451, allocations: 20.45 kB / 311.5 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.146, allocations: 0.596 MB / 312.1 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.1482, allocations: 1.859 MB / 314 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008814/0.1491, allocations: 0.6562 MB / 314.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.1494, allocations: 252.3 kB / 314.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-05/0.1495, allocations: 16.55 kB / 314.9 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1495, allocations: 44.78 kB / 315 MB, free: 7.777 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 2.255e-06/0.1495, allocations: 1.031 kB / 315 MB, free: 7.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.001026/0.1505, allocations: 0.707 MB / 315.7 MB, free: 7.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1506, allocations: 111 kB / 315.8 MB, free: 7.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.1508, allocations: 267.6 kB / 316 MB, free: 7.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1508, allocations: 36.77 kB / 316.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.1509, allocations: 273.3 kB / 316.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-05/0.151, allocations: 223.3 kB / 316.6 MB, free: 6.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1511, allocations: 119 kB / 316.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.1512, allocations: 347.2 kB / 317 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.1515, allocations: 211.2 kB / 317.2 MB, free: 6.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.1519, allocations: 334.9 kB / 317.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006741/0.1526, allocations: 0.5182 MB / 318.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1526, allocations: 1.094 kB / 318.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008442/0.1534, allocations: 0.6303 MB / 318.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1534, allocations: 7.219 kB / 318.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1534, allocations: 1.219 kB / 318.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1534, allocations: 5.094 kB / 318.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.1539, allocations: 165.8 kB / 318.9 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1539, allocations: 4.625 kB / 318.9 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.1541, allocations: 74.17 kB / 319 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.1542, allocations: 27.89 kB / 319 MB, free: 5.508 MB / 282.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.0001388/0.1543, allocations: 187.3 kB / 319.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.1544, allocations: 44.05 kB / 319.2 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.1551, allocations: 0.6084 MB / 319.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1552, allocations: 7.969 kB / 319.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1552, allocations: 1.703 kB / 319.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.1552, allocations: 6.516 kB / 319.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1565, allocations: 1.179 MB / 321 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1565, allocations: 1.188 kB / 321 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.1568, allocations: 132.6 kB / 321.1 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1568, allocations: 3.406 kB / 321.1 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1568, allocations: 19.09 kB / 321.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1568, allocations: 2.188 kB / 321.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1568, allocations: 1 kB / 321.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009941/0.1578, allocations: 0.9753 MB / 322.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.1579, allocations: 50.86 kB / 322.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1579, allocations: 14.8 kB / 322.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1581, allocations: 28.36 kB / 322.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.1582, allocations: 42.23 kB / 322.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1582, allocations: 19.14 kB / 322.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1583, allocations: 191.5 kB / 322.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1583, allocations: 0 / 322.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.1587, allocations: 177.7 kB / 322.7 MB, free: 3.617 MB / 282.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.001273/0.16, allocations: 1.572 MB / 324.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006798/0.1607, allocations: 0.5014 MB / 324.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1607, allocations: 5.125 kB / 324.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.161, allocations: 247.9 kB / 325 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.1614, allocations: 53.56 kB / 325 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.1654, allocations: 4.209 MB / 329.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.1656, allocations: 248.4 kB / 329.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.1659, allocations: 80.39 kB / 329.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.1661, allocations: 186.7 kB / 329.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1661, allocations: 1.375 kB / 329.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.1904, allocations: 10.19 MB / 339.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/7.428, allocations: 0 / 339.9 MB, free: 4.863 MB / 298.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 9.079407184384763]