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.001875/0.001875, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001923/0.001923, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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 1.551/1.551, allocations: 173.3 MB / 200.8 MB, free: 9.289 MB / 186.7 MB " [Timeout remaining time 178] 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.764e-06/1.764e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.63e-05, allocations: 2.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007826/0.007852, allocations: 5.16 MB / 272.5 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.01145, allocations: 1.639 MB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.01177, allocations: 16 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00367/0.01544, allocations: 1.489 MB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.01649, allocations: 329.4 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.01838, allocations: 0.7784 MB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.01962, allocations: 0.8555 MB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.02083, allocations: 0.6597 MB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008641/0.02169, allocations: 0.5183 MB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.02228, allocations: 359 kB / 279.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.0224, allocations: 76 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006029/0.023, allocations: 243.6 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.02319, allocations: 183.3 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.02355, allocations: 287.3 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.02558, allocations: 1.234 MB / 281.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.02559, allocations: 4 kB / 281.1 MB, free: 8.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.0256, allocations: 0 / 281.1 MB, free: 8.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.02561, allocations: 0 / 281.1 MB, free: 8.812 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.004556/0.03017, allocations: 1.548 MB / 282.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.03021, allocations: 12.92 kB / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.03211, allocations: 431.6 kB / 283.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.03237, allocations: 215.5 kB / 283.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.03244, allocations: 74.38 kB / 283.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.0326, allocations: 96.38 kB / 283.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.03433, allocations: 0.9793 MB / 284.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.03437, allocations: 4.141 kB / 284.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/0.03446, allocations: 40.38 kB / 284.5 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.03449, allocations: 27.94 kB / 284.5 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.03595, allocations: 0.7611 MB / 285.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005986/0.04194, allocations: 3.044 MB / 288.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.04395, allocations: 0.9074 MB / 289.2 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.04453, allocations: 338.8 kB / 289.6 MB, free: 144 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.04464, allocations: 36.97 kB / 289.6 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.04469, allocations: 46.33 kB / 289.7 MB, free: 48 kB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.705e-06/0.04469, allocations: 0 / 289.7 MB, free: 48 kB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.1061/0.1508, allocations: 1.011 MB / 290.7 MB, free: 31.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1508, allocations: 88.7 kB / 290.8 MB, free: 31.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.1512, allocations: 444.1 kB / 291.2 MB, free: 31.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.1512, allocations: 38.86 kB / 291.2 MB, free: 31.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1514, allocations: 455.8 kB / 291.7 MB, free: 31.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.1516, allocations: 333.1 kB / 292 MB, free: 31.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.1519, allocations: 203.7 kB / 292.2 MB, free: 31.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.152, allocations: 0.5609 MB / 292.8 MB, free: 30.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.1524, allocations: 261.6 kB / 293 MB, free: 30.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.153, allocations: 0.5482 MB / 293.6 MB, free: 30.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.154, allocations: 0.8676 MB / 294.4 MB, free: 29.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.154, allocations: 5.625 kB / 294.4 MB, free: 29.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001625/0.1556, allocations: 1.015 MB / 295.5 MB, free: 29.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1556, allocations: 7.531 kB / 295.5 MB, free: 29.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.1557, allocations: 5.984 kB / 295.5 MB, free: 29.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007519/0.1564, allocations: 170 kB / 295.6 MB, free: 29.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.1572, allocations: 204.8 kB / 295.8 MB, free: 29.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.1604, allocations: 7.892 MB / 303.7 MB, free: 21.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.1611, allocations: 98.89 kB / 303.8 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/0.1612, allocations: 38.52 kB / 303.9 MB, free: 21.45 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.0002912/0.1615, allocations: 276.7 kB / 304.1 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.1616, allocations: 83.14 kB / 304.2 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.163, allocations: 0.8555 MB / 305.1 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.163, allocations: 9.5 kB / 305.1 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1631, allocations: 5.203 kB / 305.1 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1631, allocations: 3.984 kB / 305.1 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.1657, allocations: 1.77 MB / 306.9 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.1657, allocations: 3.375 kB / 306.9 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.1663, allocations: 134.5 kB / 307 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006367/0.1669, allocations: 162.9 kB / 307.1 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.1669, allocations: 20.86 kB / 307.2 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/0.1696, allocations: 7.302 MB / 314.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.1696, allocations: 6.656 kB / 314.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.1713, allocations: 1.4 MB / 315.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.1714, allocations: 64.25 kB / 315.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.1715, allocations: 25.92 kB / 316 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.1719, allocations: 21.05 kB / 316 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.172, allocations: 62.22 kB / 316 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.1721, allocations: 24.14 kB / 316.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.1723, allocations: 278.2 kB / 316.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1723, allocations: 7.969 kB / 316.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009159/0.1732, allocations: 268 kB / 316.6 MB, free: 11.21 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.0002309/0.1734, allocations: 156.3 kB / 316.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.1749, allocations: 1.41 MB / 318.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1749, allocations: 0 / 318.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007198/0.1756, allocations: 1.034 MB / 319.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.1761, allocations: 61.58 kB / 319.3 MB, free: 9.297 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.1785, allocations: 1.436 MB / 320.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1789, allocations: 313.5 kB / 321 MB, free: 7.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0006314/0.1795, allocations: 101.6 kB / 321.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.1797, allocations: 55.45 kB / 321.2 MB, free: 7.684 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1797, allocations: 0 / 321.2 MB, free: 7.684 MB / 266.7 MB Notification: Performance of Templates: time 0.01749/0.1972, allocations: 6.854 MB / 328 MB, free: 1.418 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.9595896049868315]