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.0007439/0.0007439, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001807, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007057/0.0007057, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009348/0.00164, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8943/0.8943, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07803/0.9724, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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 1.192e-06/1.192e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.352e-05, allocations: 10.05 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003932/0.003945, allocations: 5.167 MB / 249.9 MB, free: 9.039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.006108, allocations: 1.77 MB / 251.6 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.006318, allocations: 20 kB / 251.7 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.007808, allocations: 1.497 MB / 253.2 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.008262, allocations: 345.3 kB / 253.5 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.008953, allocations: 0.6033 MB / 254.1 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.009479, allocations: 0.84 MB / 254.9 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.01009, allocations: 0.6696 MB / 255.6 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.01049, allocations: 0.53 MB / 256.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.01078, allocations: 367 kB / 256.5 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.01085, allocations: 76 kB / 256.6 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.01142, allocations: 259.6 kB / 256.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.01149, allocations: 135.5 kB / 257 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.01164, allocations: 231.6 kB / 257.2 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.01223, allocations: 0.7433 MB / 257.9 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.01224, allocations: 0 / 257.9 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01224, allocations: 0 / 257.9 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.01225, allocations: 0 / 257.9 MB, free: 0.9375 MB / 250.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.002012/0.01426, allocations: 1.69 MB / 259.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.56e-05/0.01429, allocations: 8.031 kB / 259.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.01523, allocations: 440 kB / 260.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.01535, allocations: 205.3 kB / 260.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.01539, allocations: 70.38 kB / 260.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.01548, allocations: 100.4 kB / 260.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.01603, allocations: 0.6612 MB / 261.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.01605, allocations: 8.078 kB / 261.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.0161, allocations: 40.38 kB / 261.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.01612, allocations: 31.92 kB / 261.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.01644, allocations: 290.2 kB / 261.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.01875, allocations: 2.199 MB / 263.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.01978, allocations: 0.6879 MB / 264.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.01994, allocations: 180 kB / 264.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.23e-05/0.02, allocations: 44.97 kB / 264.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.02002, allocations: 39.56 kB / 264.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 1.984e-06/0.02003, allocations: 0 / 264.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0007027/0.02073, allocations: 0.5562 MB / 265.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.02076, allocations: 94.05 kB / 265.2 MB, free: 9.383 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.02092, allocations: 306.6 kB / 265.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.02095, allocations: 37.7 kB / 265.6 MB, free: 9.027 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.02108, allocations: 388.1 kB / 266 MB, free: 8.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.02121, allocations: 313.3 kB / 266.3 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.02135, allocations: 174.7 kB / 266.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.02142, allocations: 362.7 kB / 266.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.02153, allocations: 110.6 kB / 266.9 MB, free: 7.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.02173, allocations: 319.3 kB / 267.2 MB, free: 7.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.02212, allocations: 0.5154 MB / 267.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.02213, allocations: 4 kB / 267.7 MB, free: 6.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.000513/0.02264, allocations: 0.5571 MB / 268.3 MB, free: 6.117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.02266, allocations: 8 kB / 268.3 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.02266, allocations: 8 kB / 268.3 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/0.02296, allocations: 151.5 kB / 268.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.02339, allocations: 239.7 kB / 268.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.02556, allocations: 5.112 MB / 273.8 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.02579, allocations: 95.3 kB / 273.9 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.02582, allocations: 35.98 kB / 273.9 MB, free: 120 kB / 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.0001402/0.02596, allocations: 165.7 kB / 274.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.02603, allocations: 63.88 kB / 274.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.02653, allocations: 0.5052 MB / 274.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.02654, allocations: 8 kB / 274.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.02654, allocations: 7.984 kB / 274.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.02655, allocations: 7.984 kB / 274.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.02757, allocations: 0.9757 MB / 275.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.02757, allocations: 7.938 kB / 275.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.02788, allocations: 156.1 kB / 275.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.02792, allocations: 59.53 kB / 275.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002468/0.02816, allocations: 131.3 kB / 276 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.02819, allocations: 15.98 kB / 276 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.03011, allocations: 4.754 MB / 280.8 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.03011, allocations: 4 kB / 280.8 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.03071, allocations: 0.7558 MB / 281.5 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.03074, allocations: 16 kB / 281.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.03091, allocations: 23.98 kB / 281.6 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.03098, allocations: 68.42 kB / 281.6 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.031, allocations: 19.98 kB / 281.7 MB, free: 7.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.281e-05/0.03107, allocations: 100.6 kB / 281.7 MB, free: 7.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03107, allocations: 4 kB / 281.8 MB, free: 7.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004857/0.03155, allocations: 271.4 kB / 282 MB, free: 7.508 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.0001742/0.03173, allocations: 152.2 kB / 282.2 MB, free: 7.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006361/0.03236, allocations: 0.9039 MB / 283.1 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/0.03238, allocations: 12.5 kB / 283.1 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.03281, allocations: 0.7324 MB / 283.8 MB, free: 5.605 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.03323, allocations: 362.5 kB / 284.2 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.03935, allocations: 1.35 MB / 285.5 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.6e-05/0.03945, allocations: 159.3 kB / 285.7 MB, free: 3.605 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.03965, allocations: 89.05 kB / 285.8 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.03978, allocations: 127.3 kB / 285.9 MB, free: 3.395 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.03978, allocations: 4 kB / 285.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of Templates: time 0.1254/0.1652, allocations: 7.946 MB / 293.8 MB, free: 28.96 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.844106857664883]