Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001171/0.001171, allocations: 79.7 kB / 21.42 MB, free: 3.129 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.008161/0.008161, allocations: 162.6 kB / 24.69 MB, free: 9.422 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.835/0.835, allocations: 158.6 MB / 186.5 MB, free: 3.027 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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 298.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.416e-05, allocations: 2.281 kB / 298.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1266/0.1266, allocations: 4.654 MB / 303.1 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.1289, allocations: 1.635 MB / 304.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.1292, allocations: 16.53 kB / 304.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.1309, allocations: 1.384 MB / 306.1 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.1317, allocations: 331 kB / 306.5 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000987/0.1327, allocations: 0.6158 MB / 307.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.1335, allocations: 0.8453 MB / 307.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007904/0.1343, allocations: 0.6719 MB / 308.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/0.1349, allocations: 0.5159 MB / 309.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.1352, allocations: 356.1 kB / 309.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.1354, allocations: 74.03 kB / 309.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.1359, allocations: 246.3 kB / 309.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.136, allocations: 184.1 kB / 309.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.1362, allocations: 286.5 kB / 310.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.1373, allocations: 1.207 MB / 311.4 MB, free: 9.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1373, allocations: 0.6094 kB / 311.4 MB, free: 9.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1373, allocations: 5.688 kB / 311.4 MB, free: 9.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1373, allocations: 0 / 311.4 MB, free: 9.602 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002309/0.1396, allocations: 1.385 MB / 312.8 MB, free: 8.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1397, allocations: 13.8 kB / 312.8 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.1398, allocations: 147.8 kB / 313 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009295/0.1407, allocations: 265.5 kB / 313.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.1409, allocations: 199 kB / 313.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.1409, allocations: 74.12 kB / 313.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.1411, allocations: 96.28 kB / 313.6 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1421, allocations: 0.9371 MB / 314.5 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.1421, allocations: 6.453 kB / 314.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.1421, allocations: 40.38 kB / 314.6 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.1422, allocations: 23.38 kB / 314.6 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.1431, allocations: 0.7791 MB / 315.4 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.1462, allocations: 2.794 MB / 318.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.1473, allocations: 0.8774 MB / 319.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.1477, allocations: 329.9 kB / 319.4 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.465e-05/0.1477, allocations: 19.2 kB / 319.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.1478, allocations: 44.09 kB / 319.4 MB, free: 5.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 2.604e-06/0.1478, allocations: 0 / 319.4 MB, free: 5.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=87): time 0.001413/0.1492, allocations: 0.9998 MB / 320.4 MB, free: 4.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.1492, allocations: 88.61 kB / 320.5 MB, free: 4.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.1495, allocations: 384.9 kB / 320.9 MB, free: 4.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1495, allocations: 41.14 kB / 320.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1497, allocations: 387.9 kB / 321.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.1498, allocations: 316.3 kB / 321.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.15, allocations: 172.7 kB / 321.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.15, allocations: 359.1 kB / 322.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.1503, allocations: 265.4 kB / 322.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.1507, allocations: 487 kB / 322.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.1513, allocations: 0.7654 MB / 323.6 MB, free: 2.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.1513, allocations: 1.375 kB / 323.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001037/0.1524, allocations: 0.9734 MB / 324.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.1524, allocations: 11.91 kB / 324.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1524, allocations: 8.922 kB / 324.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.1527, allocations: 124.7 kB / 324.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.1531, allocations: 206.9 kB / 325 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.1558, allocations: 5.68 MB / 330.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.1563, allocations: 112.5 kB / 330.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.1564, allocations: 38.72 kB / 330.8 MB, free: 12.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003086/0.1567, allocations: 223.8 kB / 331 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.1567, allocations: 57.42 kB / 331.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009135/0.1577, allocations: 0.8418 MB / 331.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1577, allocations: 8.469 kB / 331.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1577, allocations: 3.375 kB / 331.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1577, allocations: 3.984 kB / 331.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.1595, allocations: 1.667 MB / 333.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.1595, allocations: 6.688 kB / 333.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.1597, allocations: 133.7 kB / 333.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/0.1599, allocations: 107.9 kB / 333.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.1599, allocations: 20.66 kB / 333.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.1624, allocations: 5.264 MB / 339.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1624, allocations: 3.609 kB / 339.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1635, allocations: 1.268 MB / 340.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1636, allocations: 71.45 kB / 340.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.1637, allocations: 24.17 kB / 340.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1639, allocations: 24 kB / 340.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.1639, allocations: 68.42 kB / 340.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.164, allocations: 27.98 kB / 340.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001873/0.1642, allocations: 251.2 kB / 340.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1642, allocations: 0 / 340.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007144/0.1649, allocations: 259.6 kB / 341.1 MB, free: 2.754 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/0.1663, allocations: 1.864 MB / 343 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.1675, allocations: 1.119 MB / 344.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1675, allocations: 0 / 344.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.168, allocations: 0.7642 MB / 344.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.1684, allocations: 69.5 kB / 344.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.1738, allocations: 5.674 MB / 350.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1741, allocations: 322.4 kB / 350.9 MB, free: 8.434 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000286/0.1743, allocations: 105.1 kB / 351 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.1746, allocations: 244.4 kB / 351.2 MB, free: 8.094 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1746, allocations: 0 / 351.2 MB, free: 8.094 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.2061, allocations: 13.74 MB / 365 MB, free: 10.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.68, allocations: 12.05 kB / 365 MB, free: 10.28 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_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_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable quarterCylinder1.port_p.reference.gamma in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv. Warning: Get data of variable quarterCylinder1.port_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.344779855571687]