Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001039/0.001039, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001152/0.001152, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.821e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005048/0.005076, allocations: 5.222 MB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.007922, allocations: 1.705 MB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.00838, allocations: 16 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.01041, allocations: 1.509 MB / 281.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007155/0.01112, allocations: 337.3 kB / 281.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.012, allocations: 0.6307 MB / 282.4 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008289/0.01283, allocations: 0.8321 MB / 283.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008236/0.01366, allocations: 0.6636 MB / 283.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004861/0.01414, allocations: 0.5184 MB / 284.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.01448, allocations: 355 kB / 284.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/0.01456, allocations: 72 kB / 284.8 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.01501, allocations: 255.6 kB / 285.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.398e-05/0.0151, allocations: 183.3 kB / 285.3 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.0153, allocations: 283.3 kB / 285.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007915/0.0161, allocations: 0.8134 MB / 286.3 MB, free: 4.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.0161, allocations: 0 / 286.3 MB, free: 4.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.0161, allocations: 0 / 286.3 MB, free: 4.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.01611, allocations: 4 kB / 286.4 MB, free: 4.113 MB / 266.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.002317/0.01843, allocations: 1.517 MB / 287.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.01847, allocations: 12.03 kB / 287.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.01952, allocations: 419.6 kB / 288.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.01971, allocations: 200.2 kB / 288.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.01976, allocations: 74.38 kB / 288.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.01987, allocations: 96.38 kB / 288.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/0.02077, allocations: 0.7334 MB / 289.4 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.0208, allocations: 16.12 kB / 289.4 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.02085, allocations: 36.38 kB / 289.4 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.02087, allocations: 27.94 kB / 289.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/0.02154, allocations: 463.2 kB / 289.9 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.128/0.1495, allocations: 2.683 MB / 292.6 MB, free: 18.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1507, allocations: 0.7796 MB / 293.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.151, allocations: 242.8 kB / 293.6 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.471e-05/0.1511, allocations: 37.7 kB / 293.7 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1511, allocations: 46.41 kB / 293.7 MB, free: 18.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.986e-06/0.1511, allocations: 0 / 293.7 MB, free: 18.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.001297/0.1524, allocations: 0.7871 MB / 294.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.1524, allocations: 86.67 kB / 294.6 MB, free: 18.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1527, allocations: 376.8 kB / 294.9 MB, free: 18.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1527, allocations: 39.58 kB / 295 MB, free: 18.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.1529, allocations: 445.5 kB / 295.4 MB, free: 17.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.153, allocations: 320.8 kB / 295.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.1532, allocations: 192.2 kB / 295.9 MB, free: 17.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.1533, allocations: 0.5352 MB / 296.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.1535, allocations: 153.8 kB / 296.6 MB, free: 17.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.1539, allocations: 445.6 kB / 297 MB, free: 16.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.1546, allocations: 0.6477 MB / 297.7 MB, free: 16.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1546, allocations: 1.562 kB / 297.7 MB, free: 16.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00105/0.1556, allocations: 0.8085 MB / 298.5 MB, free: 16.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1556, allocations: 9.375 kB / 298.5 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1556, allocations: 5.188 kB / 298.5 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000442/0.1561, allocations: 165.1 kB / 298.7 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.1566, allocations: 209.8 kB / 298.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.1587, allocations: 7.629 MB / 306.5 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.1591, allocations: 96.77 kB / 306.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.1591, allocations: 44.52 kB / 306.6 MB, free: 8.766 MB / 266.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.0001727/0.1593, allocations: 215.9 kB / 306.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1594, allocations: 79.48 kB / 306.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008864/0.1603, allocations: 0.6857 MB / 307.6 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1603, allocations: 12.98 kB / 307.6 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1603, allocations: 3.812 kB / 307.6 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1603, allocations: 9.375 kB / 307.6 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.162, allocations: 1.439 MB / 309.1 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.162, allocations: 6.781 kB / 309.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.1623, allocations: 136.2 kB / 309.2 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003431/0.1626, allocations: 145.6 kB / 309.4 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.1627, allocations: 22.92 kB / 309.4 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.1643, allocations: 7.084 MB / 316.5 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1643, allocations: 5.906 kB / 316.5 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1654, allocations: 1.087 MB / 317.6 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.1655, allocations: 70.28 kB / 317.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1655, allocations: 19.39 kB / 317.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.1657, allocations: 17.52 kB / 317.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.1658, allocations: 76.59 kB / 317.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.1658, allocations: 24.38 kB / 317.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.166, allocations: 233.6 kB / 318 MB, free: 15.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.166, allocations: 0 / 318 MB, free: 15.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007252/0.1667, allocations: 271.6 kB / 318.3 MB, free: 15.34 MB / 282.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.0002306/0.1669, allocations: 159.2 kB / 318.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.168, allocations: 1.208 MB / 319.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.168, allocations: 8 kB / 319.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/0.1685, allocations: 0.9399 MB / 320.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1689, allocations: 64.52 kB / 320.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1706, allocations: 1.312 MB / 321.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.1707, allocations: 156.2 kB / 322.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.1709, allocations: 98.53 kB / 322.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.171, allocations: 57.56 kB / 322.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.171, allocations: 0 / 322.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of Templates: time 0.009822/0.1808, allocations: 7.085 MB / 329.3 MB, free: 7.527 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2263505840674043]