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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 122.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.419/1.419, allocations: 207.6 MB / 231.8 MB, free: 4.105 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 56.39 kB / 342.3 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09661, allocations: 49.12 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006986/0.1036, allocations: 5.237 MB / 396.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.1068, allocations: 1.748 MB / 398.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.1072, allocations: 16 kB / 398.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.1105, allocations: 1.412 MB / 399.8 MB, free: 312 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.1116, allocations: 313.8 kB / 400.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.1133, allocations: 0.8213 MB / 400.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.1144, allocations: 0.813 MB / 401.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009889/0.1154, allocations: 0.5857 MB / 402.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/0.1159, allocations: 358.7 kB / 402.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.1164, allocations: 458.2 kB / 403.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.1165, allocations: 76 kB / 403.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.1171, allocations: 259.8 kB / 403.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1172, allocations: 179.3 kB / 403.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.1176, allocations: 429.9 kB / 404 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.1191, allocations: 1.183 MB / 405.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1191, allocations: 0 / 405.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1191, allocations: 0 / 405.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.1191, allocations: 0 / 405.2 MB, free: 10.84 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.004136/0.1232, allocations: 1.473 MB / 406.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1233, allocations: 8.031 kB / 406.7 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.1235, allocations: 148.4 kB / 406.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.1252, allocations: 264.2 kB / 407.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.1255, allocations: 255.3 kB / 407.4 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.65e-05/0.1255, allocations: 74.38 kB / 407.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.1257, allocations: 96.38 kB / 407.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.1273, allocations: 0.9461 MB / 408.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.1274, allocations: 11.95 kB / 408.5 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/0.1274, allocations: 36 kB / 408.5 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.1275, allocations: 24 kB / 408.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.1289, allocations: 0.777 MB / 409.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.1345, allocations: 3.366 MB / 412.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.1365, allocations: 1.182 MB / 413.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.137, allocations: 321.1 kB / 414.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.1371, allocations: 110 kB / 414.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1372, allocations: 43.5 kB / 414.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.736e-06/0.1372, allocations: 0 / 414.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002366/0.1395, allocations: 1.297 MB / 415.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.1396, allocations: 86.11 kB / 415.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.1401, allocations: 376.3 kB / 416.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.1402, allocations: 37.7 kB / 416.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.1405, allocations: 396.2 kB / 416.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.1407, allocations: 309.3 kB / 416.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.141, allocations: 174.9 kB / 417 MB, free: 14.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1412, allocations: 374.7 kB / 417.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.1416, allocations: 266.5 kB / 417.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.1423, allocations: 471.5 kB / 418.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.1434, allocations: 0.7745 MB / 418.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1434, allocations: 0 / 418.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001743/0.1452, allocations: 0.9655 MB / 419.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1452, allocations: 12 kB / 419.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.1452, allocations: 4 kB / 419.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.1456, allocations: 123.3 kB / 419.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.1464, allocations: 207.7 kB / 420.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/0.1517, allocations: 6.122 MB / 426.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.1524, allocations: 103.2 kB / 426.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.1524, allocations: 43.94 kB / 426.4 MB, free: 4.355 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.0003692/0.1528, allocations: 233.6 kB / 426.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.1529, allocations: 59.62 kB / 426.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.1544, allocations: 0.8403 MB / 427.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.1544, allocations: 8 kB / 427.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.1544, allocations: 11.94 kB / 427.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.1544, allocations: 7.984 kB / 427.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.1575, allocations: 1.923 MB / 429.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1575, allocations: 0 / 429.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/0.1581, allocations: 135.8 kB / 429.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003075/0.1584, allocations: 111.6 kB / 429.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.1585, allocations: 23.98 kB / 429.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004621/0.1631, allocations: 5.709 MB / 435.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1631, allocations: 7.875 kB / 435.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.1651, allocations: 1.277 MB / 436.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.1653, allocations: 140.6 kB / 436.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.1653, allocations: 23.94 kB / 436.9 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.1657, allocations: 20 kB / 436.9 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.1658, allocations: 72.56 kB / 437 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.1659, allocations: 20 kB / 437 MB, free: 8.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003066/0.1662, allocations: 255.2 kB / 437.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1662, allocations: 0 / 437.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009646/0.1672, allocations: 267.5 kB / 437.5 MB, free: 8.422 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.002425/0.1696, allocations: 1.86 MB / 439.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.1714, allocations: 1.141 MB / 440.5 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.1714, allocations: 1.438 kB / 440.5 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009573/0.1724, allocations: 0.7566 MB / 441.3 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.173, allocations: 65.27 kB / 441.3 MB, free: 4.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008737/0.1817, allocations: 5.709 MB / 447.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.1823, allocations: 0.911 MB / 448 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004609/0.1827, allocations: 113.1 kB / 448.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.1831, allocations: 247.4 kB / 448.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1831, allocations: 0 / 448.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.055/0.2381, allocations: 12.91 MB / 461.2 MB, free: 140 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.47, allocations: 7.922 kB / 461.2 MB, free: 132 kB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.166129246819764]