Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.000789/0.000789, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003889/0.003889, allocations: 141.1 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8167/0.8167, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: 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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 319.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.075e-05, allocations: 2.281 kB / 319.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003742/0.003763, allocations: 4.678 MB / 324.4 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.005427, allocations: 1.604 MB / 326 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.00559, allocations: 16 kB / 326 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.00697, allocations: 1.39 MB / 327.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.007359, allocations: 329.4 kB / 327.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.00815, allocations: 0.7615 MB / 328.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000532/0.008682, allocations: 0.8516 MB / 329.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006656/0.009347, allocations: 0.6673 MB / 330 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.009686, allocations: 0.5144 MB / 330.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.009967, allocations: 355 kB / 330.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.202e-05/0.01004, allocations: 72 kB / 330.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.01032, allocations: 247.6 kB / 331.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.0104, allocations: 183.3 kB / 331.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.01055, allocations: 283.3 kB / 331.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008299/0.01138, allocations: 1.223 MB / 332.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01138, allocations: 0 / 332.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.01139, allocations: 0 / 332.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.01139, allocations: 0 / 332.8 MB, free: 8.508 MB / 298.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.002018/0.01341, allocations: 1.374 MB / 334.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01345, allocations: 8.922 kB / 334.2 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007813/0.01423, allocations: 256.2 kB / 334.5 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.01437, allocations: 201.3 kB / 334.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.01441, allocations: 86.3 kB / 334.8 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.0145, allocations: 100.3 kB / 334.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.01559, allocations: 0.9388 MB / 335.8 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.01561, allocations: 12.12 kB / 335.8 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.01566, allocations: 40.38 kB / 335.8 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.01568, allocations: 27.94 kB / 335.9 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008064/0.01648, allocations: 0.777 MB / 336.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.0195, allocations: 2.681 MB / 339.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.02054, allocations: 0.8742 MB / 340.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.02086, allocations: 333 kB / 340.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.27e-05/0.02092, allocations: 24.98 kB / 340.6 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.02094, allocations: 39.56 kB / 340.6 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.114e-06/0.02094, allocations: 0 / 340.6 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.0012/0.02214, allocations: 0.9954 MB / 341.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.02218, allocations: 86.11 kB / 341.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.02241, allocations: 343.8 kB / 342 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.02244, allocations: 41.7 kB / 342 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.02259, allocations: 392.2 kB / 342.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.02272, allocations: 317.3 kB / 342.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.02288, allocations: 170.9 kB / 342.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.02297, allocations: 358.8 kB / 343.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.02326, allocations: 270.5 kB / 343.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.02362, allocations: 471.5 kB / 344 MB, free: 13.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.0243, allocations: 0.7666 MB / 344.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.02431, allocations: 4 kB / 344.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0009878/0.0253, allocations: 0.9648 MB / 345.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.02531, allocations: 7.984 kB / 345.7 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.02532, allocations: 8 kB / 345.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.02581, allocations: 135.9 kB / 345.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.0262, allocations: 203.7 kB / 346.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.02859, allocations: 5.597 MB / 351.7 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.02886, allocations: 103.2 kB / 351.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.0289, allocations: 40 kB / 351.8 MB, free: 4.668 MB / 314.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.0001962/0.02909, allocations: 229.8 kB / 352 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.02915, allocations: 51.67 kB / 352.1 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008504/0.03, allocations: 0.8394 MB / 352.9 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.03001, allocations: 8 kB / 352.9 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.03001, allocations: 0 / 352.9 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.03002, allocations: 7.984 kB / 352.9 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.03178, allocations: 1.549 MB / 354.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.03178, allocations: 7.938 kB / 354.5 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.03205, allocations: 131.8 kB / 354.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.0322, allocations: 111.3 kB / 354.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.03223, allocations: 24.14 kB / 354.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.03422, allocations: 5.181 MB / 359.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.03423, allocations: 8.188 kB / 359.9 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.03552, allocations: 1.261 MB / 361.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.03557, allocations: 63.47 kB / 361.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.0356, allocations: 24 kB / 361.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.03578, allocations: 16 kB / 361.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.03585, allocations: 76.41 kB / 361.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.03587, allocations: 24 kB / 361.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.03601, allocations: 223.1 kB / 361.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03601, allocations: 0 / 361.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005681/0.03658, allocations: 271.5 kB / 361.9 MB, free: 10 MB / 330.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.0002082/0.03679, allocations: 151.1 kB / 362 MB, free: 9.844 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009369/0.03772, allocations: 1.141 MB / 363.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.03773, allocations: 0 / 363.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.03818, allocations: 0.7497 MB / 363.9 MB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.03853, allocations: 63.98 kB / 364 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.03998, allocations: 1.398 MB / 365.4 MB, free: 6.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.04017, allocations: 326.1 kB / 365.7 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.04031, allocations: 60.48 kB / 365.8 MB, free: 5.922 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04031, allocations: 0 / 365.8 MB, free: 5.922 MB / 330.7 MB Notification: Performance of Templates: time 0.01337/0.05368, allocations: 21.25 MB / 387 MB, free: 0.6758 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.259438479319215]