Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2543, allocations: 52.14 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007193/0.2615, allocations: 5.298 MB / 426.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.2646, allocations: 1.689 MB / 427.9 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004302/0.265, allocations: 20 kB / 427.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.2685, allocations: 1.418 MB / 429.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.2697, allocations: 321.6 kB / 429.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.2714, allocations: 0.8203 MB / 430.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.2725, allocations: 0.8167 MB / 431.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.2735, allocations: 0.5893 MB / 431.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.2739, allocations: 350.7 kB / 432.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005533/0.2745, allocations: 478.1 kB / 432.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.687e-05/0.2746, allocations: 72 kB / 432.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.2751, allocations: 263.8 kB / 433 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.2753, allocations: 175.3 kB / 433.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.2757, allocations: 421.9 kB / 433.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.277, allocations: 1.2 MB / 434.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.277, allocations: 0 / 434.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.277, allocations: 0 / 434.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.277, allocations: 0 / 434.8 MB, free: 1.184 MB / 334.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.00391/0.2809, allocations: 1.461 MB / 436.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.281, allocations: 8.031 kB / 436.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.2826, allocations: 256.2 kB / 436.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.2829, allocations: 267.3 kB / 436.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.283, allocations: 70.38 kB / 436.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.2831, allocations: 104.3 kB / 436.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.2847, allocations: 0.9463 MB / 437.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.2847, allocations: 4 kB / 437.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.432e-05/0.2848, allocations: 40 kB / 437.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.2848, allocations: 24 kB / 437.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.2863, allocations: 0.7776 MB / 438.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005286/0.2915, allocations: 3.358 MB / 442.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.2936, allocations: 1.189 MB / 443.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/0.2942, allocations: 322 kB / 443.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.2943, allocations: 102.1 kB / 443.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.2943, allocations: 43.56 kB / 443.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.304e-06/0.2943, allocations: 0 / 443.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002302/0.2966, allocations: 1.304 MB / 445 MB, free: 6.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.2967, allocations: 86.11 kB / 445.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.2971, allocations: 372.3 kB / 445.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.2972, allocations: 41.7 kB / 445.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.2974, allocations: 392.2 kB / 445.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.2977, allocations: 317.3 kB / 446.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.298, allocations: 178.9 kB / 446.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2981, allocations: 354.8 kB / 446.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.2986, allocations: 270.5 kB / 447 MB, free: 4.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.2992, allocations: 467.5 kB / 447.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3004, allocations: 0.7783 MB / 448.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3004, allocations: 0 / 448.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001664/0.302, allocations: 0.9771 MB / 449.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3021, allocations: 8 kB / 449.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3021, allocations: 7.938 kB / 449.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/0.3025, allocations: 123.4 kB / 449.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.3033, allocations: 199.7 kB / 449.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/0.3083, allocations: 6.13 MB / 455.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.3089, allocations: 107.4 kB / 455.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.3089, allocations: 44 kB / 455.8 MB, free: 10.85 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.0003335/0.3093, allocations: 225.5 kB / 456 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3094, allocations: 55.67 kB / 456.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.3109, allocations: 0.8403 MB / 456.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.3109, allocations: 12 kB / 456.9 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3109, allocations: 4 kB / 456.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.3109, allocations: 7.922 kB / 456.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.3138, allocations: 1.93 MB / 458.9 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3138, allocations: 0 / 458.9 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/0.3144, allocations: 143.8 kB / 459 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.3147, allocations: 107.6 kB / 459.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.3148, allocations: 20 kB / 459.1 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004248/0.319, allocations: 5.697 MB / 464.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.319, allocations: 12 kB / 464.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.3209, allocations: 1.269 MB / 466.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.3211, allocations: 144.6 kB / 466.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.3211, allocations: 31.88 kB / 466.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.3215, allocations: 24.06 kB / 466.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.3217, allocations: 60.52 kB / 466.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.3217, allocations: 24 kB / 466.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002996/0.322, allocations: 259.2 kB / 466.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.322, allocations: 0 / 466.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008972/0.3229, allocations: 255.6 kB / 466.9 MB, free: 14.94 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.000249/0.3231, allocations: 163 kB / 467.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.3248, allocations: 1.123 MB / 468.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3248, allocations: 4 kB / 468.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009434/0.3257, allocations: 0.7652 MB / 468.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.3263, allocations: 68.69 kB / 469 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.3288, allocations: 1.431 MB / 470.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.3294, allocations: 0.911 MB / 471.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004319/0.3299, allocations: 109.1 kB / 471.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.33, allocations: 47.44 kB / 471.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.33, allocations: 4 kB / 471.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of Templates: time 0.01454/0.3445, allocations: 7.623 MB / 479.1 MB, free: 2.535 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.590202475897968]