Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001526/0.001526, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001674/0.001674, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.385/1.385, allocations: 230.5 MB / 258.1 MB, free: 8.125 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.84 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2277, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006716/0.2344, allocations: 5.297 MB / 437.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.2375, allocations: 1.759 MB / 439.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.2378, allocations: 16 kB / 439.1 MB, free: 256 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003145/0.241, allocations: 1.427 MB / 440.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000902/0.2419, allocations: 329.6 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.2433, allocations: 0.6463 MB / 441.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009687/0.2442, allocations: 0.7974 MB / 442.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009287/0.2452, allocations: 0.5894 MB / 442.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.2456, allocations: 354.7 kB / 443.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.2462, allocations: 466.1 kB / 443.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.862e-05/0.2463, allocations: 76 kB / 443.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.2468, allocations: 263.8 kB / 444 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.2469, allocations: 179.3 kB / 444.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.2473, allocations: 421.9 kB / 444.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.2487, allocations: 1.212 MB / 445.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2487, allocations: 0 / 445.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2487, allocations: 0 / 445.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.2487, allocations: 0 / 445.8 MB, free: 9.5 MB / 350.1 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.004004/0.2527, allocations: 1.465 MB / 447.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2528, allocations: 8.031 kB / 447.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.2544, allocations: 244.2 kB / 447.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.2547, allocations: 263.2 kB / 447.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.2548, allocations: 70.38 kB / 447.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.2549, allocations: 100.4 kB / 448 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.2564, allocations: 0.9541 MB / 448.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.2565, allocations: 3.953 kB / 448.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/0.2566, allocations: 44 kB / 449 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.2566, allocations: 20 kB / 449 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.2579, allocations: 0.7892 MB / 449.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/0.2633, allocations: 3.623 MB / 453.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.2653, allocations: 1.174 MB / 454.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.2658, allocations: 333.9 kB / 454.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.266, allocations: 195.2 kB / 455.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.266, allocations: 43.55 kB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.334e-06/0.266, allocations: 0 / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002264/0.2683, allocations: 1.308 MB / 456.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.2684, allocations: 86.11 kB / 456.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.2688, allocations: 372.3 kB / 456.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.2689, allocations: 37.7 kB / 456.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.2691, allocations: 396.2 kB / 457.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.2694, allocations: 317.3 kB / 457.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.2696, allocations: 174.9 kB / 457.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2698, allocations: 366.8 kB / 458.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.2703, allocations: 262.5 kB / 458.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.2709, allocations: 475.4 kB / 458.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.272, allocations: 0.7783 MB / 459.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.272, allocations: 4 kB / 459.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001727/0.2737, allocations: 0.981 MB / 460.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2738, allocations: 15.94 kB / 460.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.2738, allocations: 7.938 kB / 460.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/0.2742, allocations: 119.4 kB / 460.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007918/0.275, allocations: 211.7 kB / 461 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004784/0.2797, allocations: 6.123 MB / 467.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.2804, allocations: 99.19 kB / 467.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.68e-05/0.2805, allocations: 43.98 kB / 467.3 MB, free: 2.719 MB / 366.1 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.0003625/0.2808, allocations: 234.2 kB / 467.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.281, allocations: 55.62 kB / 467.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.2825, allocations: 0.8483 MB / 468.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.2825, allocations: 8 kB / 468.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2825, allocations: 4 kB / 468.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.2825, allocations: 7.922 kB / 468.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.2856, allocations: 2.093 MB / 470.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2856, allocations: 8.062 kB / 470.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.2862, allocations: 143.7 kB / 470.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.2865, allocations: 103.4 kB / 470.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.2865, allocations: 24 kB / 470.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004326/0.2909, allocations: 5.706 MB / 476.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.2909, allocations: 11.92 kB / 476.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.2928, allocations: 1.285 MB / 477.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.293, allocations: 144.6 kB / 477.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.2931, allocations: 19.94 kB / 477.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.2934, allocations: 20 kB / 478 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2936, allocations: 68.56 kB / 478 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.2936, allocations: 28 kB / 478.1 MB, free: 7.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003061/0.2939, allocations: 255.2 kB / 478.3 MB, free: 6.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2939, allocations: 0 / 478.3 MB, free: 6.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001038/0.2949, allocations: 267.5 kB / 478.6 MB, free: 6.57 MB / 382.1 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.0002855/0.2952, allocations: 151 kB / 478.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.2969, allocations: 1.147 MB / 479.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2969, allocations: 0 / 479.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000887/0.2978, allocations: 0.7683 MB / 480.6 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.2983, allocations: 65.3 kB / 480.7 MB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.3009, allocations: 1.413 MB / 482.1 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.3016, allocations: 0.9149 MB / 483 MB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.3018, allocations: 67.42 kB / 483.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of SimCode: time 5.52e-07/0.3018, allocations: 4 kB / 483.1 MB, free: 1.832 MB / 382.1 MB Notification: Performance of Templates: time 0.02509/0.3269, allocations: 21.47 MB / 0.4927 GB, free: 12.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.296967061702162]