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.001929/0.001929, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002115/0.002115, allocations: 206.6 kB / 24.47 MB, free: 3.977 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 2.272/2.272, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001788/0.001788, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3052, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.008176/0.3134, allocations: 4.702 MB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003859/0.3173, allocations: 1.65 MB / 438.7 MB, free: 368 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004227/0.3177, allocations: 16 kB / 438.7 MB, free: 352 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.3214, allocations: 1.318 MB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.3225, allocations: 329.6 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.3242, allocations: 0.6141 MB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.3253, allocations: 0.7974 MB / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.3265, allocations: 0.6745 MB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004687/0.327, allocations: 366.6 kB / 442.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006422/0.3276, allocations: 458.1 kB / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.3277, allocations: 76 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006217/0.3283, allocations: 263.8 kB / 443.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.3285, allocations: 179.3 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.3289, allocations: 346.4 kB / 444.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.3305, allocations: 1.213 MB / 445.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3305, allocations: 4 kB / 445.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3305, allocations: 4 kB / 445.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3305, allocations: 0 / 445.3 MB, free: 9.723 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.005273/0.3358, allocations: 1.394 MB / 446.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3359, allocations: 8.031 kB / 446.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.3381, allocations: 240.2 kB / 446.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.3384, allocations: 205.5 kB / 447.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.3385, allocations: 70.38 kB / 447.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.3387, allocations: 100.4 kB / 447.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.3408, allocations: 0.9424 MB / 448.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/0.3408, allocations: 11.95 kB / 448.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3409, allocations: 36 kB / 448.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.341, allocations: 24 kB / 448.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.3427, allocations: 0.7809 MB / 449.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006453/0.3492, allocations: 2.718 MB / 451.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.3516, allocations: 0.8707 MB / 452.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007115/0.3523, allocations: 335.6 kB / 453 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.3524, allocations: 40.97 kB / 453.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.3524, allocations: 47.55 kB / 453.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.487e-06/0.3524, allocations: 0 / 453.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.00284/0.3553, allocations: 0.9955 MB / 454.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.3554, allocations: 86.11 kB / 454.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.3558, allocations: 343.8 kB / 454.5 MB, free: 264 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.3559, allocations: 37.7 kB / 454.6 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.3563, allocations: 400.3 kB / 454.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.3568, allocations: 313.3 kB / 455.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001988/0.3588, allocations: 174.9 kB / 455.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.359, allocations: 362.8 kB / 455.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006227/0.3596, allocations: 266.5 kB / 456 MB, free: 14.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/0.3604, allocations: 471.5 kB / 456.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.362, allocations: 0.7861 MB / 457.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.362, allocations: 0 / 457.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001772/0.3638, allocations: 0.9805 MB / 458.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3638, allocations: 7.984 kB / 458.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3638, allocations: 8 kB / 458.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.3643, allocations: 123.6 kB / 458.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/0.3651, allocations: 199.7 kB / 458.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004817/0.3699, allocations: 5.609 MB / 464.2 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.3705, allocations: 103.2 kB / 464.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/0.3705, allocations: 43.94 kB / 464.3 MB, free: 5.801 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.0003389/0.3709, allocations: 223.8 kB / 464.6 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.371, allocations: 47.72 kB / 464.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.3727, allocations: 0.851 MB / 465.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3727, allocations: 8 kB / 465.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3727, allocations: 0 / 465.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/0.3727, allocations: 11.98 kB / 465.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.3754, allocations: 1.565 MB / 467 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.3754, allocations: 11.88 kB / 467.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.376, allocations: 139.8 kB / 467.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.3763, allocations: 107.6 kB / 467.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.3764, allocations: 20 kB / 467.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/0.3815, allocations: 5.197 MB / 472.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.3815, allocations: 4 kB / 472.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.3846, allocations: 1.273 MB / 473.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.3848, allocations: 63.55 kB / 473.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.385, allocations: 23.94 kB / 473.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.3856, allocations: 19.98 kB / 473.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.3858, allocations: 68.61 kB / 474 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/0.3859, allocations: 31.98 kB / 474 MB, free: 11.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003938/0.3863, allocations: 215.1 kB / 474.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3863, allocations: 0 / 474.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001705/0.388, allocations: 275.4 kB / 474.5 MB, free: 11.09 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.0004315/0.3884, allocations: 159 kB / 474.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.3911, allocations: 1.137 MB / 475.8 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3911, allocations: 0 / 475.8 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.3926, allocations: 0.762 MB / 476.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009783/0.3935, allocations: 56.58 kB / 476.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.3977, allocations: 1.379 MB / 478 MB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.3982, allocations: 322.2 kB / 478.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006555/0.3988, allocations: 104.9 kB / 478.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.3991, allocations: 55.42 kB / 478.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3991, allocations: 3.938 kB / 478.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of Templates: time 0.02841/0.4275, allocations: 8.135 MB / 486.6 MB, free: 14.88 MB / 398.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/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: 7.003175855992595]