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.001906/0.001906, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 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.002259/0.002259, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.468/1.468, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+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 0.001678/0.001678, allocations: 43.92 kB / 373.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1028, allocations: 53.33 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.192/0.2948, allocations: 5.282 MB / 432.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.2972, allocations: 1.747 MB / 433.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.2974, allocations: 17.47 kB / 433.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.3, allocations: 1.419 MB / 435.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005906/0.3006, allocations: 320.3 kB / 435.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3017, allocations: 0.6468 MB / 436.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007185/0.3024, allocations: 0.7997 MB / 437 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008352/0.3032, allocations: 0.5964 MB / 437.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.3037, allocations: 361.5 kB / 438 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005667/0.3043, allocations: 462.2 kB / 438.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.3044, allocations: 75.06 kB / 438.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.305, allocations: 267.7 kB / 438.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3051, allocations: 183.2 kB / 438.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.3054, allocations: 422.3 kB / 439.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.3067, allocations: 1.208 MB / 440.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3067, allocations: 3.938 kB / 440.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3067, allocations: 0 / 440.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.3068, allocations: 5.094 kB / 440.6 MB, free: 5.406 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.004041/0.3108, allocations: 1.468 MB / 442 MB, free: 4.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3108, allocations: 11.06 kB / 442.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.3126, allocations: 242.7 kB / 442.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3128, allocations: 262 kB / 442.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.3128, allocations: 73.41 kB / 442.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.313, allocations: 96.47 kB / 442.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.3146, allocations: 0.9465 MB / 443.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.3146, allocations: 4.984 kB / 443.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.3147, allocations: 44.25 kB / 443.7 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.3147, allocations: 28.41 kB / 443.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.3161, allocations: 0.7826 MB / 444.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004863/0.321, allocations: 3.621 MB / 448.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.3228, allocations: 1.173 MB / 449.3 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.3233, allocations: 334 kB / 449.6 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.3235, allocations: 194.1 kB / 449.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.3235, allocations: 44.52 kB / 449.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.3236, allocations: 0 / 449.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.00247/0.326, allocations: 1.306 MB / 451.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.3261, allocations: 90.83 kB / 451.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.3266, allocations: 374 kB / 451.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.3266, allocations: 37.27 kB / 451.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.3269, allocations: 394.4 kB / 452.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.3272, allocations: 316.4 kB / 452.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.3275, allocations: 174.3 kB / 452.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3277, allocations: 361.5 kB / 452.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.3282, allocations: 265 kB / 453.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.3289, allocations: 479.4 kB / 453.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3301, allocations: 0.7825 MB / 454.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3301, allocations: 1.375 kB / 454.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001878/0.332, allocations: 0.9782 MB / 455.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.332, allocations: 8.391 kB / 455.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.332, allocations: 8.812 kB / 455.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.3325, allocations: 128.2 kB / 455.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008428/0.3333, allocations: 206.8 kB / 455.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/0.3384, allocations: 6.114 MB / 461.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.3391, allocations: 105.4 kB / 461.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.3392, allocations: 39.22 kB / 462 MB, free: 6.059 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.0003574/0.3395, allocations: 242.5 kB / 462.2 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3397, allocations: 61.44 kB / 462.3 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.3413, allocations: 0.8386 MB / 463.1 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3413, allocations: 8.688 kB / 463.1 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3413, allocations: 2.469 kB / 463.1 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.3413, allocations: 9.797 kB / 463.1 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.3446, allocations: 2.1 MB / 465.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3446, allocations: 2.219 kB / 465.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.3452, allocations: 138.8 kB / 465.4 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.3456, allocations: 109.5 kB / 465.5 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.3456, allocations: 22.8 kB / 465.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004616/0.3502, allocations: 5.713 MB / 471.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.3502, allocations: 14.31 kB / 471.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.3523, allocations: 1.278 MB / 472.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.3525, allocations: 147.3 kB / 472.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.3526, allocations: 26.98 kB / 472.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.353, allocations: 19.19 kB / 472.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3531, allocations: 59.33 kB / 472.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.3532, allocations: 32.34 kB / 472.8 MB, free: 13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.3535, allocations: 253.1 kB / 473 MB, free: 12.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3535, allocations: 4 kB / 473 MB, free: 12.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001094/0.3546, allocations: 268.9 kB / 473.3 MB, free: 12.76 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.0002781/0.3549, allocations: 149.7 kB / 473.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.3567, allocations: 1.138 MB / 474.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3567, allocations: 1.031 kB / 474.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3577, allocations: 0.77 MB / 475.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/0.3583, allocations: 62.34 kB / 475.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.3611, allocations: 1.395 MB / 476.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.3617, allocations: 0.9124 MB / 477.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.3622, allocations: 112.8 kB / 477.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.3623, allocations: 59.11 kB / 477.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3623, allocations: 0 / 477.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of Templates: time 0.01514/0.3775, allocations: 7.495 MB / 485.4 MB, free: 3.918 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.914436921477318]