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.001333/0.001333, allocations: 116.9 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.001349/0.001349, 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.486/1.486, allocations: 207.6 MB / 231.8 MB, free: 4.086 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.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: 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.001982/0.001982, allocations: 56.97 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.103, allocations: 49.13 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007225/0.1102, allocations: 5.245 MB / 396.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.1142, allocations: 1.725 MB / 398.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008691/0.115, allocations: 16 kB / 398.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.1188, allocations: 1.423 MB / 399.8 MB, free: 264 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.1203, allocations: 321.7 kB / 400.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.122, allocations: 0.6463 MB / 400.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.1235, allocations: 0.8091 MB / 401.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.1248, allocations: 0.5896 MB / 402.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006526/0.1254, allocations: 358.7 kB / 402.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007527/0.1262, allocations: 474.1 kB / 403 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.1263, allocations: 76 kB / 403.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.1269, allocations: 255.8 kB / 403.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1271, allocations: 179.3 kB / 403.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.1276, allocations: 417.9 kB / 403.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.1291, allocations: 1.198 MB / 405.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1291, allocations: 4 kB / 405.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1291, allocations: 0 / 405.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1291, allocations: 0 / 405.1 MB, free: 10.94 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004019/0.1331, allocations: 1.461 MB / 406.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.1331, allocations: 12.03 kB / 406.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.1333, allocations: 156.3 kB / 406.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.135, allocations: 260.2 kB / 407 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1353, allocations: 251.4 kB / 407.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.1353, allocations: 70.38 kB / 407.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.1355, allocations: 104.3 kB / 407.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.1371, allocations: 0.9462 MB / 408.4 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.1371, allocations: 7.953 kB / 408.4 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.1372, allocations: 40 kB / 408.4 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.1372, allocations: 27.94 kB / 408.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.1386, allocations: 0.7847 MB / 409.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005218/0.1438, allocations: 3.358 MB / 412.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.1458, allocations: 1.181 MB / 413.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.1463, allocations: 321.2 kB / 414.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.1464, allocations: 98.08 kB / 414.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.1465, allocations: 55.48 kB / 414.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.835e-06/0.1465, allocations: 0 / 414.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002349/0.1488, allocations: 1.297 MB / 415.5 MB, free: 44 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.1489, allocations: 86.11 kB / 415.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.1494, allocations: 372.3 kB / 416 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.1494, allocations: 41.73 kB / 416 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.1497, allocations: 392.2 kB / 416.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.1499, allocations: 313.3 kB / 416.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.1502, allocations: 174.9 kB / 416.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1504, allocations: 366.7 kB / 417.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.1509, allocations: 262.5 kB / 417.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.1516, allocations: 479.4 kB / 417.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.1528, allocations: 0.7667 MB / 418.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.1528, allocations: 4 kB / 418.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001793/0.1546, allocations: 0.9652 MB / 419.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1546, allocations: 11.94 kB / 419.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1546, allocations: 8 kB / 419.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.1551, allocations: 127.5 kB / 419.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/0.1559, allocations: 207.7 kB / 420 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005084/0.161, allocations: 6.118 MB / 426.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.1616, allocations: 107.2 kB / 426.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.1617, allocations: 39.98 kB / 426.3 MB, free: 4.465 MB / 350.1 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.0003514/0.162, allocations: 229.5 kB / 426.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1621, allocations: 59.69 kB / 426.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.1637, allocations: 0.8443 MB / 427.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.1637, allocations: 12 kB / 427.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.1637, allocations: 3.938 kB / 427.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1637, allocations: 3.984 kB / 427.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.1667, allocations: 1.927 MB / 429.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.1667, allocations: 4.281 kB / 429.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/0.1673, allocations: 139.8 kB / 429.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.1676, allocations: 103.4 kB / 429.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.1677, allocations: 19.98 kB / 429.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004486/0.1722, allocations: 5.709 MB / 435.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.1722, allocations: 11.92 kB / 435.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.1742, allocations: 1.277 MB / 436.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.1743, allocations: 144.6 kB / 436.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.1744, allocations: 19.94 kB / 436.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.1748, allocations: 27.98 kB / 436.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.1749, allocations: 64.52 kB / 436.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.175, allocations: 24.06 kB / 436.9 MB, free: 9.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003068/0.1753, allocations: 259.2 kB / 437.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1753, allocations: 0 / 437.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009868/0.1763, allocations: 259.5 kB / 437.4 MB, free: 8.535 MB / 366.1 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.00234/0.1786, allocations: 1.868 MB / 439.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.1804, allocations: 1.135 MB / 440.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1804, allocations: 0 / 440.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009352/0.1813, allocations: 0.7613 MB / 441.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.1819, allocations: 61.42 kB / 441.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008489/0.1904, allocations: 5.705 MB / 446.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.191, allocations: 0.911 MB / 447.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004473/0.1915, allocations: 105.1 kB / 447.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.1919, allocations: 247.3 kB / 448.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1919, allocations: 0 / 448.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/0.2427, allocations: 12.91 MB / 461.1 MB, free: 264 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.11, allocations: 7.844 kB / 461.1 MB, free: 256 kB / 382.1 MB " [Timeout remaining time 649] (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/jenkins1/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/jenkins1/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: 13.793285414998536]