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.001302/0.001302, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001505/0.001505, allocations: 218.4 kB / 23 MB, free: 5.574 MB / 14.72 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 1.42/1.42, allocations: 230.2 MB / 256.2 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00184/0.00184, allocations: 71.88 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.241, allocations: 53.31 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007001/0.248, allocations: 5.301 MB / 435.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.2511, allocations: 1.755 MB / 436.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.2514, allocations: 16 kB / 436.9 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.2545, allocations: 1.423 MB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007454/0.2552, allocations: 325.6 kB / 438.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.2566, allocations: 0.6499 MB / 439.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008925/0.2575, allocations: 0.8013 MB / 440.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009379/0.2584, allocations: 0.5933 MB / 440.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.2588, allocations: 342.7 kB / 441 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005411/0.2594, allocations: 466.1 kB / 441.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.2595, allocations: 76 kB / 441.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.26, allocations: 263.8 kB / 441.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.2601, allocations: 179.3 kB / 442 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.2605, allocations: 421.9 kB / 442.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.2618, allocations: 1.215 MB / 443.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2618, allocations: 0 / 443.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2618, allocations: 0 / 443.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2618, allocations: 0 / 443.6 MB, free: 9.684 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.003915/0.2657, allocations: 1.469 MB / 445.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2658, allocations: 8.031 kB / 445.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.2674, allocations: 244.2 kB / 445.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.2677, allocations: 263.2 kB / 445.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.2677, allocations: 74.38 kB / 445.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.2679, allocations: 96.38 kB / 445.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.2696, allocations: 0.9541 MB / 446.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.2696, allocations: 11.89 kB / 446.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/0.2697, allocations: 40 kB / 446.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.2697, allocations: 27.98 kB / 446.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.2711, allocations: 0.7809 MB / 447.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.2767, allocations: 3.623 MB / 451.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.2787, allocations: 1.189 MB / 452.3 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.2792, allocations: 318 kB / 452.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.2794, allocations: 191.2 kB / 452.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2795, allocations: 39.56 kB / 452.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.164e-06/0.2795, allocations: 0 / 452.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002323/0.2818, allocations: 1.308 MB / 454.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.2818, allocations: 90.11 kB / 454.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.2823, allocations: 380.2 kB / 454.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.2823, allocations: 33.7 kB / 454.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.2826, allocations: 400.1 kB / 455.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.2829, allocations: 317.3 kB / 455.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.2832, allocations: 174.9 kB / 455.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.2834, allocations: 366.8 kB / 455.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.2838, allocations: 266.5 kB / 456.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006537/0.2845, allocations: 475.4 kB / 456.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.2857, allocations: 0.7822 MB / 457.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2857, allocations: 0 / 457.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001782/0.2874, allocations: 0.9771 MB / 458.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.2875, allocations: 12 kB / 458.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.2875, allocations: 4 kB / 458.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004232/0.2879, allocations: 123.4 kB / 458.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.2887, allocations: 207.7 kB / 458.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004775/0.2935, allocations: 6.123 MB / 464.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.294, allocations: 103.2 kB / 465 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/0.2941, allocations: 43.98 kB / 465 MB, free: 2.891 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.0003045/0.2944, allocations: 229.6 kB / 465.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.2945, allocations: 59.62 kB / 465.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.296, allocations: 0.8443 MB / 466.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.2961, allocations: 12 kB / 466.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2961, allocations: 4 kB / 466.1 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.2961, allocations: 7.922 kB / 466.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.2991, allocations: 2.097 MB / 468.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/0.2991, allocations: 12.27 kB / 468.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.2997, allocations: 139.8 kB / 468.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.3, allocations: 103.4 kB / 468.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.3001, allocations: 20 kB / 468.5 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004277/0.3043, allocations: 5.701 MB / 474.2 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.3044, allocations: 11.92 kB / 474.2 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.3063, allocations: 1.281 MB / 475.5 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3064, allocations: 144.6 kB / 475.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.3065, allocations: 23.94 kB / 475.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.3069, allocations: 20 kB / 475.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.307, allocations: 64.5 kB / 475.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.307, allocations: 28.06 kB / 475.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003184/0.3073, allocations: 259.2 kB / 476 MB, free: 7 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3073, allocations: 0 / 476 MB, free: 7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009185/0.3083, allocations: 267.5 kB / 476.3 MB, free: 6.738 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.0002786/0.3085, allocations: 158.3 kB / 476.5 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.3102, allocations: 1.142 MB / 477.6 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3102, allocations: 1.438 kB / 477.6 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000927/0.3112, allocations: 0.7684 MB / 478.4 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.3117, allocations: 69.52 kB / 478.4 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.3141, allocations: 1.378 MB / 479.8 MB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.3147, allocations: 0.9149 MB / 480.7 MB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003886/0.315, allocations: 105.1 kB / 480.8 MB, free: 2.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.3152, allocations: 59.42 kB / 480.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3152, allocations: 0 / 480.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of Templates: time 0.01447/0.3297, allocations: 7.75 MB / 488.6 MB, free: 10.24 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.591715977527201]