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.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.001046/0.001046, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002462, allocations: 445.7 kB / 10.37 MB, free: 328 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.001022/0.001022, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002317, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9068/0.9068, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1426/1.049, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.116e-05, allocations: 6.25 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006657/0.006678, allocations: 5.1 MB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003831/0.01051, allocations: 1.763 MB / 228.7 MB, free: 9.27 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.01102, allocations: 20 kB / 228.7 MB, free: 9.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.01345, allocations: 1.501 MB / 230.2 MB, free: 7.742 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009463/0.01439, allocations: 325.5 kB / 230.5 MB, free: 7.422 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.01561, allocations: 0.611 MB / 231.1 MB, free: 6.809 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.01667, allocations: 0.8517 MB / 232 MB, free: 5.953 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.01781, allocations: 0.6617 MB / 232.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000814/0.01863, allocations: 0.5418 MB / 233.2 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006087/0.01924, allocations: 359 kB / 233.5 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.0194, allocations: 76 kB / 233.6 MB, free: 4.309 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007309/0.02013, allocations: 251.6 kB / 233.9 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.02027, allocations: 135.5 kB / 234 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.0206, allocations: 231.6 kB / 234.2 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.0217, allocations: 0.7434 MB / 235 MB, free: 2.957 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.866e-05/0.02172, allocations: 0 / 235 MB, free: 2.957 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02172, allocations: 0 / 235 MB, free: 2.957 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.536e-05/0.02176, allocations: 0 / 235 MB, free: 2.957 MB / 234.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.003693/0.02545, allocations: 1.686 MB / 236.7 MB, free: 1.223 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.02549, allocations: 8.031 kB / 236.7 MB, free: 1.215 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.02722, allocations: 456 kB / 237.1 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.02749, allocations: 208.7 kB / 237.3 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.02757, allocations: 74.38 kB / 237.4 MB, free: 480 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.02775, allocations: 96.36 kB / 237.5 MB, free: 384 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.02879, allocations: 0.6574 MB / 238.1 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.02883, allocations: 8.125 kB / 238.1 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.0289, allocations: 36.38 kB / 238.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.02892, allocations: 27.94 kB / 238.2 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.02956, allocations: 289.4 kB / 238.5 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004074/0.03364, allocations: 2.172 MB / 240.7 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.03495, allocations: 0.682 MB / 241.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.03524, allocations: 189 kB / 241.5 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.655e-05/0.03533, allocations: 32.98 kB / 241.6 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.03537, allocations: 47.55 kB / 241.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 3.336e-06/0.03537, allocations: 0 / 241.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.001764/0.03714, allocations: 0.5562 MB / 242.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.03719, allocations: 86.11 kB / 242.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.03747, allocations: 306.6 kB / 242.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.03751, allocations: 37.7 kB / 242.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.03772, allocations: 388.1 kB / 243 MB, free: 10.69 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.03794, allocations: 313.3 kB / 243.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.03817, allocations: 182.8 kB / 243.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.03831, allocations: 362.7 kB / 243.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.03851, allocations: 98.58 kB / 243.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.03885, allocations: 315.4 kB / 244.2 MB, free: 9.348 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.03949, allocations: 496.8 kB / 244.7 MB, free: 8.781 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.0395, allocations: 0 / 244.7 MB, free: 8.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0009135/0.04042, allocations: 0.5647 MB / 245.3 MB, free: 8.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.04044, allocations: 8 kB / 245.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.04045, allocations: 8 kB / 245.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/0.04096, allocations: 143.7 kB / 245.4 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.04171, allocations: 235.6 kB / 245.6 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.04516, allocations: 5.115 MB / 250.8 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.04574, allocations: 99.3 kB / 250.9 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.0458, allocations: 28 kB / 250.9 MB, free: 2.215 MB / 250.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.000257/0.04606, allocations: 169.6 kB / 251 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.04618, allocations: 63.88 kB / 251.1 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.04703, allocations: 0.5094 MB / 251.6 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.04703, allocations: 11.94 kB / 251.6 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.04704, allocations: 4 kB / 251.6 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.04705, allocations: 3.984 kB / 251.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.04889, allocations: 0.9603 MB / 252.6 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.04889, allocations: 7.938 kB / 252.6 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.04944, allocations: 155.8 kB / 252.8 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.04952, allocations: 51.53 kB / 252.8 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.04995, allocations: 135.4 kB / 252.9 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.05001, allocations: 23.94 kB / 253 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/0.05309, allocations: 4.741 MB / 257.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.0531, allocations: 11.92 kB / 257.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.05423, allocations: 0.744 MB / 258.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.05432, allocations: 16 kB / 258.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.05466, allocations: 20 kB / 258.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.05479, allocations: 68.42 kB / 258.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.05483, allocations: 23.98 kB / 258.6 MB, free: 10 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.05498, allocations: 104.7 kB / 258.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05498, allocations: 0 / 258.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001129/0.05611, allocations: 271.4 kB / 259 MB, free: 9.629 MB / 266.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.0002788/0.05639, allocations: 136.1 kB / 259.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.0576, allocations: 0.8923 MB / 260 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.418e-05/0.05764, allocations: 8.5 kB / 260 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006697/0.05831, allocations: 0.6708 MB / 260.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.05888, allocations: 116.4 kB / 260.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.07002, allocations: 1.411 MB / 262.2 MB, free: 6.227 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.07024, allocations: 155.3 kB / 262.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0006118/0.07085, allocations: 101.1 kB / 262.4 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.07115, allocations: 131.3 kB / 262.6 MB, free: 5.828 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.07115, allocations: 0 / 262.6 MB, free: 5.828 MB / 266.7 MB Notification: Performance of Templates: time 0.01685/0.08799, allocations: 7.545 MB / 270.1 MB, free: 14.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9132433123886585]