Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002129/0.002129, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002554/0.002554, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.549e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.01383/0.01386, allocations: 5.159 MB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005915/0.01978, allocations: 1.697 MB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007944/0.02057, allocations: 16 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006198/0.02677, allocations: 1.501 MB / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.02889, allocations: 337.4 kB / 280.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.03167, allocations: 0.6229 MB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.03394, allocations: 0.8399 MB / 282.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.03631, allocations: 0.6635 MB / 283 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.03753, allocations: 0.5106 MB / 283.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007075/0.03824, allocations: 355 kB / 283.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.03843, allocations: 76 kB / 284 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007562/0.03918, allocations: 247.6 kB / 284.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.0394, allocations: 183.3 kB / 284.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004858/0.03989, allocations: 291.3 kB / 284.7 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.04176, allocations: 1.238 MB / 285.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.04176, allocations: 0 / 285.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.04176, allocations: 0 / 285.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.497e-05/0.04181, allocations: 4 kB / 285.9 MB, free: 4.023 MB / 266.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.00486/0.04667, allocations: 1.56 MB / 287.5 MB, free: 2.426 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.04673, allocations: 15.98 kB / 287.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.04884, allocations: 419.6 kB / 287.9 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.04915, allocations: 207.4 kB / 288.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.04924, allocations: 74.38 kB / 288.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.04943, allocations: 96.38 kB / 288.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.05136, allocations: 0.9834 MB / 289.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.0514, allocations: 8.141 kB / 289.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.05149, allocations: 40.38 kB / 289.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.05152, allocations: 31.88 kB / 289.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1141/0.1656, allocations: 0.7486 MB / 290.1 MB, free: 27.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.1706, allocations: 3.081 MB / 293.2 MB, free: 26.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.1723, allocations: 0.9253 MB / 294.1 MB, free: 26.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.1728, allocations: 344.6 kB / 294.4 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.1729, allocations: 40.39 kB / 294.5 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1729, allocations: 43.81 kB / 294.5 MB, free: 26.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.976e-06/0.1729, allocations: 3.938 kB / 294.5 MB, free: 26.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.00202/0.1749, allocations: 1.024 MB / 295.5 MB, free: 25.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.1749, allocations: 89.67 kB / 295.6 MB, free: 25.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.1753, allocations: 444.7 kB / 296.1 MB, free: 25.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1753, allocations: 41.05 kB / 296.1 MB, free: 25.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.1755, allocations: 459.7 kB / 296.5 MB, free: 24.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.1757, allocations: 326.4 kB / 296.9 MB, free: 24.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.1759, allocations: 207.8 kB / 297.1 MB, free: 24.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1761, allocations: 0.5561 MB / 297.6 MB, free: 24.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.1765, allocations: 254.5 kB / 297.9 MB, free: 23.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.177, allocations: 0.5555 MB / 298.4 MB, free: 23.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.178, allocations: 0.8742 MB / 299.3 MB, free: 22.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.178, allocations: 2.766 kB / 299.3 MB, free: 22.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001523/0.1796, allocations: 1.027 MB / 300.3 MB, free: 22.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1796, allocations: 8.062 kB / 300.3 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1796, allocations: 9.156 kB / 300.4 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007391/0.1803, allocations: 180.2 kB / 300.5 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.1811, allocations: 202.8 kB / 300.7 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.1842, allocations: 7.885 MB / 308.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.1848, allocations: 103.5 kB / 308.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.1848, allocations: 40.25 kB / 308.7 MB, free: 14.62 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.0003022/0.1851, allocations: 271.9 kB / 309 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.1853, allocations: 83.23 kB / 309.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.1867, allocations: 0.8646 MB / 310 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1867, allocations: 12.11 kB / 310 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1867, allocations: 5.969 kB / 310 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.1868, allocations: 7.562 kB / 310 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.1892, allocations: 1.78 MB / 311.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1892, allocations: 3.938 kB / 311.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.1898, allocations: 134.8 kB / 311.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005845/0.1904, allocations: 166 kB / 312.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.1904, allocations: 25.7 kB / 312.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.1928, allocations: 7.303 MB / 319.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1928, allocations: 4.031 kB / 319.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.1943, allocations: 1.42 MB / 320.8 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.1944, allocations: 66.8 kB / 320.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.1944, allocations: 15.95 kB / 320.9 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.1948, allocations: 20 kB / 320.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.1949, allocations: 68.75 kB / 321 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.1949, allocations: 31.56 kB / 321 MB, free: 4.012 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1951, allocations: 275.1 kB / 321.3 MB, free: 3.766 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1951, allocations: 7.969 kB / 321.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008992/0.196, allocations: 263.5 kB / 321.5 MB, free: 3.5 MB / 266.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.0002317/0.1962, allocations: 162 kB / 321.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.1976, allocations: 1.411 MB / 323.1 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1976, allocations: 0 / 323.1 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006631/0.1983, allocations: 1.031 MB / 324.1 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.1988, allocations: 73.69 kB / 324.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.2014, allocations: 1.387 MB / 325.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2018, allocations: 314.3 kB / 325.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003991/0.2022, allocations: 104.7 kB / 326 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.2024, allocations: 56.48 kB / 326.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2024, allocations: 4 kB / 326.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of Templates: time 0.01618/0.2186, allocations: 7.073 MB / 333.1 MB, free: 7.957 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.99719649401959]