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.0007293/0.0007293, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001746, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006257/0.0006257, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009713/0.001597, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8472/0.8472, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1322/0.9794, allocations: 52.48 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] 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 1.142e-06/1.142e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.077e-06/1.022e-05, allocations: 6.906 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004198/0.004208, allocations: 5.146 MB / 244.9 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.006261, allocations: 1.714 MB / 246.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.006479, allocations: 16.97 kB / 246.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.007954, allocations: 1.496 MB / 248.1 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004999/0.008454, allocations: 332.9 kB / 248.4 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008902/0.009344, allocations: 0.7736 MB / 249.2 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.01001, allocations: 0.8444 MB / 250.1 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007024/0.01071, allocations: 0.6665 MB / 250.7 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004172/0.01113, allocations: 0.5495 MB / 251.3 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.01143, allocations: 364.7 kB / 251.6 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.0115, allocations: 72 kB / 251.7 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.01186, allocations: 255.6 kB / 252 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.01194, allocations: 135.5 kB / 252.1 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.01209, allocations: 235.6 kB / 252.3 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.01268, allocations: 0.7355 MB / 253.1 MB, free: 9.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.01269, allocations: 3.938 kB / 253.1 MB, free: 9.012 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01269, allocations: 0 / 253.1 MB, free: 9.012 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.0127, allocations: 0 / 253.1 MB, free: 9.012 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.002056/0.01476, allocations: 1.682 MB / 254.7 MB, free: 7.281 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.592e-05/0.01478, allocations: 8.031 kB / 254.7 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009618/0.01574, allocations: 452 kB / 255.2 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.0159, allocations: 215.7 kB / 255.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.01594, allocations: 70.36 kB / 255.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.141e-05/0.01603, allocations: 96.38 kB / 255.6 MB, free: 6.438 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.0166, allocations: 0.6688 MB / 256.2 MB, free: 5.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.01662, allocations: 4.141 kB / 256.2 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.01667, allocations: 44.38 kB / 256.3 MB, free: 5.707 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.01668, allocations: 27.94 kB / 256.3 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.01699, allocations: 285.8 kB / 256.6 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.01931, allocations: 2.171 MB / 258.8 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/0.02006, allocations: 0.6705 MB / 259.4 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.02022, allocations: 183.4 kB / 259.6 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.957e-05/0.02028, allocations: 24.98 kB / 259.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.02031, allocations: 51.5 kB / 259.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 1.883e-06/0.02031, allocations: 0 / 259.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.0006973/0.02101, allocations: 0.5485 MB / 260.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.02104, allocations: 86.11 kB / 260.3 MB, free: 1.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.02121, allocations: 310.6 kB / 260.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.02124, allocations: 37.7 kB / 260.7 MB, free: 1.156 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.02137, allocations: 384.1 kB / 261 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.0215, allocations: 317.2 kB / 261.3 MB, free: 472 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.02164, allocations: 178.7 kB / 261.5 MB, free: 288 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.02173, allocations: 362.7 kB / 261.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.02184, allocations: 102.6 kB / 262 MB, free: 15.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.02204, allocations: 319.3 kB / 262.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.02241, allocations: 0.5037 MB / 262.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.02242, allocations: 4 kB / 262.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0005104/0.02293, allocations: 0.5651 MB / 263.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.02294, allocations: 16.02 kB / 263.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.02295, allocations: 4 kB / 263.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/0.02325, allocations: 135.3 kB / 263.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.02366, allocations: 235.6 kB / 263.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.02564, allocations: 5.12 MB / 268.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.02587, allocations: 99.25 kB / 268.9 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.0259, allocations: 31.98 kB / 269 MB, free: 8.266 MB / 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.0001355/0.02603, allocations: 173.5 kB / 269.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.0261, allocations: 63.89 kB / 269.2 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.02659, allocations: 0.5053 MB / 269.7 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.0266, allocations: 8 kB / 269.7 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.0266, allocations: 4 kB / 269.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.02661, allocations: 7.984 kB / 269.7 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009837/0.02759, allocations: 0.9446 MB / 270.7 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.02759, allocations: 7.938 kB / 270.7 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.02789, allocations: 156.1 kB / 270.8 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.02794, allocations: 63.47 kB / 270.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/0.02823, allocations: 135.2 kB / 271 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.02825, allocations: 16 kB / 271 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.02995, allocations: 4.741 MB / 275.8 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.02995, allocations: 3.938 kB / 275.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.03052, allocations: 0.7519 MB / 276.5 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.03056, allocations: 20 kB / 276.6 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.03072, allocations: 16 kB / 276.6 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.03079, allocations: 76.41 kB / 276.7 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.03081, allocations: 16 kB / 276.7 MB, free: 68 kB / 266.7 MB Notification: Performance of sorting global known variables: time 8.741e-05/0.0309, allocations: 108.6 kB / 276.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0309, allocations: 0 / 276.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004987/0.0314, allocations: 263.5 kB / 277 MB, free: 15.7 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.0001739/0.03157, allocations: 148.2 kB / 277.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006712/0.03224, allocations: 0.9038 MB / 278.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/0.03226, allocations: 8.5 kB / 278.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.03269, allocations: 0.7286 MB / 278.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.03311, allocations: 362.7 kB / 279.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.03919, allocations: 1.418 MB / 280.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.0393, allocations: 155.3 kB / 280.7 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.03951, allocations: 93.03 kB / 280.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.03966, allocations: 119.4 kB / 281 MB, free: 11.54 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03966, allocations: 0 / 281 MB, free: 11.54 MB / 282.7 MB Notification: Performance of Templates: time 0.0101/0.04976, allocations: 7.73 MB / 288.7 MB, free: 3.891 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4743915358558297]