Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 154.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.973/0.973, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.628e-05, allocations: 2.312 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.01244/0.01247, allocations: 5.071 MB / 279.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008897/0.02136, allocations: 1.696 MB / 280.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.02165, allocations: 16 kB / 280.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008218/0.02987, allocations: 1.462 MB / 282.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006841/0.03055, allocations: 337.4 kB / 282.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.03224, allocations: 0.5995 MB / 283.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.03309, allocations: 0.8477 MB / 284.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009415/0.03403, allocations: 0.6674 MB / 284.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005769/0.0346, allocations: 0.5067 MB / 285.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.03509, allocations: 359 kB / 285.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.0352, allocations: 76 kB / 285.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000505/0.03571, allocations: 251.6 kB / 286 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.03585, allocations: 191.2 kB / 286.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.03613, allocations: 283.3 kB / 286.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.03732, allocations: 0.8134 MB / 287.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.03732, allocations: 0 / 287.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.03732, allocations: 0 / 287.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.03733, allocations: 0 / 287.3 MB, free: 7.078 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.003223/0.04055, allocations: 1.525 MB / 288.8 MB, free: 5.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.04058, allocations: 8.031 kB / 288.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.04225, allocations: 419.6 kB / 289.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.04243, allocations: 203.5 kB / 289.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/0.0425, allocations: 74.38 kB / 289.5 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.04264, allocations: 108.3 kB / 289.6 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.04369, allocations: 0.6668 MB / 290.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001101/0.04479, allocations: 8.141 kB / 290.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/0.045, allocations: 40.38 kB / 290.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.04503, allocations: 27.94 kB / 290.3 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.04582, allocations: 353.3 kB / 290.7 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.04905, allocations: 2.706 MB / 293.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/0.05, allocations: 0.7237 MB / 294.1 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.05023, allocations: 206.8 kB / 294.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.601e-05/0.05031, allocations: 40.97 kB / 294.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.05033, allocations: 54.31 kB / 294.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 3.276e-06/0.05034, allocations: 0 / 294.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=87): time 0.001008/0.05135, allocations: 0.6988 MB / 295.1 MB, free: 15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.05138, allocations: 86.11 kB / 295.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.05163, allocations: 377.8 kB / 295.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.05166, allocations: 33.7 kB / 295.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.05185, allocations: 450.9 kB / 296 MB, free: 14.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.05201, allocations: 317.2 kB / 296.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.0522, allocations: 192.5 kB / 296.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.05234, allocations: 0.539 MB / 297.1 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.05249, allocations: 122.5 kB / 297.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.05278, allocations: 406 kB / 297.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.05327, allocations: 0.5857 MB / 298.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.05328, allocations: 4 kB / 298.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0007788/0.05405, allocations: 0.7334 MB / 298.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.05407, allocations: 12.7 kB / 298.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.05408, allocations: 8 kB / 298.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.05445, allocations: 158.6 kB / 299.1 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.05488, allocations: 207.6 kB / 299.3 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.05788, allocations: 7.524 MB / 306.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.05816, allocations: 95.3 kB / 306.9 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.0582, allocations: 31.98 kB / 306.9 MB, free: 2.387 MB / 282.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.0002931/0.05849, allocations: 228.3 kB / 307.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-05/0.05859, allocations: 75.67 kB / 307.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.05926, allocations: 0.6344 MB / 307.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.05926, allocations: 12 kB / 307.9 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.05927, allocations: 3.938 kB / 307.9 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.05927, allocations: 3.984 kB / 307.9 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.06067, allocations: 1.308 MB / 309.2 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.06069, allocations: 8.328 kB / 309.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.06098, allocations: 139.8 kB / 309.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/0.06128, allocations: 146.5 kB / 309.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.06132, allocations: 20 kB / 309.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.06406, allocations: 6.973 MB / 316.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.06407, allocations: 11.88 kB / 316.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.06487, allocations: 0.9969 MB / 317.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.06492, allocations: 67.47 kB / 317.5 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.06497, allocations: 20 kB / 317.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.06515, allocations: 23.92 kB / 317.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.06522, allocations: 68.48 kB / 317.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002723/0.0655, allocations: 19.98 kB / 317.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.0656, allocations: 226.9 kB / 317.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0656, allocations: 0 / 317.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006102/0.06621, allocations: 267.5 kB / 318.1 MB, free: 6.488 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.0001899/0.0664, allocations: 159.1 kB / 318.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007836/0.06719, allocations: 1.163 MB / 319.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.06719, allocations: 0 / 319.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.06763, allocations: 0.9106 MB / 320.4 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.06799, allocations: 76.5 kB / 320.5 MB, free: 4.039 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.0695, allocations: 1.299 MB / 321.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.0696, allocations: 155.3 kB / 321.9 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.06985, allocations: 96.95 kB / 322 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.07003, allocations: 162.2 kB / 322.2 MB, free: 2.23 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.07003, allocations: 4 kB / 322.2 MB, free: 2.227 MB / 298.7 MB Notification: Performance of Templates: time 0.01058/0.08061, allocations: 7.896 MB / 330.1 MB, free: 10.44 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.062964298762381]