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.001034/0.001034, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001335/0.002369, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00104/0.00104, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002421, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9641/0.9641, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09844/1.063, allocations: 53.64 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.553e-06/1.553e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.236e-05, allocations: 6.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006255/0.006277, allocations: 5.163 MB / 249.7 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.009568, allocations: 1.774 MB / 251.5 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.00993, allocations: 20 kB / 251.5 MB, free: 7.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.01165, allocations: 1.493 MB / 253 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.01218, allocations: 337.4 kB / 253.3 MB, free: 5.496 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.01291, allocations: 0.6151 MB / 253.9 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006858/0.01359, allocations: 0.84 MB / 254.8 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.01433, allocations: 0.6579 MB / 255.4 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.01482, allocations: 0.5378 MB / 256 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.01514, allocations: 363 kB / 256.3 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.0152, allocations: 72 kB / 256.4 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.01563, allocations: 267.6 kB / 256.6 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.0157, allocations: 135.5 kB / 256.8 MB, free: 2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.01587, allocations: 235.5 kB / 257 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.01652, allocations: 0.7473 MB / 257.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.01654, allocations: 0 / 257.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01654, allocations: 0 / 257.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.01656, allocations: 4 kB / 257.7 MB, free: 1.016 MB / 250.7 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.002226/0.01879, allocations: 1.682 MB / 259.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.01882, allocations: 12.03 kB / 259.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009479/0.01977, allocations: 436 kB / 259.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.01994, allocations: 197.4 kB / 260.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.01999, allocations: 74.38 kB / 260.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.02009, allocations: 112.3 kB / 260.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.02067, allocations: 0.6612 MB / 260.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.02069, allocations: 8.125 kB / 260.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.02073, allocations: 44.38 kB / 261 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.02075, allocations: 23.94 kB / 261 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.02109, allocations: 285.6 kB / 261.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.02364, allocations: 2.21 MB / 263.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/0.02443, allocations: 0.6768 MB / 264.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.02461, allocations: 185.3 kB / 264.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.106e-05/0.02468, allocations: 40.97 kB / 264.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.0247, allocations: 39.56 kB / 264.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.985e-06/0.02471, allocations: 0 / 264.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0007369/0.02544, allocations: 0.5601 MB / 265 MB, free: 9.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.02548, allocations: 90.11 kB / 265.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.02565, allocations: 306.6 kB / 265.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.02567, allocations: 37.7 kB / 265.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.02581, allocations: 388.1 kB / 265.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.02594, allocations: 309.3 kB / 266.1 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.02609, allocations: 178.8 kB / 266.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.02618, allocations: 362.7 kB / 266.6 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.02628, allocations: 102.6 kB / 266.7 MB, free: 7.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.02648, allocations: 315.3 kB / 267 MB, free: 7.387 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.02688, allocations: 0.4969 MB / 267.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.02689, allocations: 4 kB / 267.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0005493/0.02744, allocations: 0.565 MB / 268.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.02745, allocations: 8 kB / 268.1 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.02746, allocations: 4 kB / 268.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.02778, allocations: 139.5 kB / 268.2 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.02821, allocations: 243.7 kB / 268.5 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.03032, allocations: 5.124 MB / 273.6 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.0306, allocations: 91.3 kB / 273.7 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.03062, allocations: 31.98 kB / 273.7 MB, free: 244 kB / 266.7 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.000152/0.03078, allocations: 169.7 kB / 273.9 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.03084, allocations: 59.89 kB / 273.9 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.03136, allocations: 0.5091 MB / 274.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.03136, allocations: 8 kB / 274.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.03137, allocations: 4 kB / 274.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.03137, allocations: 7.984 kB / 274.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.03245, allocations: 0.9718 MB / 275.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.03245, allocations: 7.938 kB / 275.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.03276, allocations: 160.1 kB / 275.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.03281, allocations: 59.52 kB / 275.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/0.03306, allocations: 131.3 kB / 275.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.03309, allocations: 20 kB / 275.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.03484, allocations: 4.757 MB / 280.6 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.03484, allocations: 4 kB / 280.6 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.03544, allocations: 0.7519 MB / 281.3 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.03548, allocations: 19.94 kB / 281.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.03565, allocations: 20 kB / 281.4 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.03572, allocations: 68.47 kB / 281.4 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.03574, allocations: 16 kB / 281.4 MB, free: 7.992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.02e-05/0.03582, allocations: 104.6 kB / 281.5 MB, free: 7.891 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03582, allocations: 4 kB / 281.5 MB, free: 7.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006045/0.03643, allocations: 267.5 kB / 281.8 MB, free: 7.625 MB / 282.7 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.0002115/0.03664, allocations: 156.2 kB / 282 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000718/0.03736, allocations: 0.8905 MB / 282.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.283e-05/0.03738, allocations: 16.44 kB / 282.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.03776, allocations: 0.661 MB / 283.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.0381, allocations: 120.8 kB / 283.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/0.0443, allocations: 1.357 MB / 285 MB, free: 4.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.04441, allocations: 159.2 kB / 285.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.04468, allocations: 101 kB / 285.3 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.04484, allocations: 135.3 kB / 285.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.04485, allocations: 0 / 285.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of Templates: time 0.1026/0.1475, allocations: 7.811 MB / 293.2 MB, free: 28.73 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9570608139038086]