Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001413/0.001413, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001347/0.001347, allocations: 162.2 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9218/0.9218, allocations: 158.6 MB / 187.5 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.845e-05, allocations: 6.25 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005344/0.005372, allocations: 5.025 MB / 256.5 MB, free: 2.199 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.007733, allocations: 1.675 MB / 258.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.008021, allocations: 16 kB / 258.2 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.009577, allocations: 1.462 MB / 259.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000588/0.01017, allocations: 329.4 kB / 260 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.01097, allocations: 0.6112 MB / 260.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006395/0.01161, allocations: 0.8399 MB / 261.4 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007146/0.01232, allocations: 0.6636 MB / 262.1 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.01275, allocations: 0.5145 MB / 262.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.01306, allocations: 363 kB / 263 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.01313, allocations: 76 kB / 263 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.01347, allocations: 247.6 kB / 263.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/0.01356, allocations: 183.3 kB / 263.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.01374, allocations: 283.3 kB / 263.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.01439, allocations: 0.8018 MB / 264.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01439, allocations: 4 kB / 264.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01439, allocations: 0 / 264.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.0144, allocations: 0 / 264.5 MB, free: 10.11 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.002031/0.01643, allocations: 1.513 MB / 266 MB, free: 8.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.01646, allocations: 11.98 kB / 266.1 MB, free: 8.547 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009611/0.01742, allocations: 455.5 kB / 266.5 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.01754, allocations: 203.5 kB / 266.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.01758, allocations: 70.38 kB / 266.8 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.711e-05/0.01767, allocations: 96.38 kB / 266.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.01829, allocations: 0.6708 MB / 267.5 MB, free: 7.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.01831, allocations: 4.141 kB / 267.5 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.01835, allocations: 36.38 kB / 267.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.01837, allocations: 31.92 kB / 267.6 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.01875, allocations: 353.3 kB / 267.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.02133, allocations: 2.671 MB / 270.6 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.02212, allocations: 0.7332 MB / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.02231, allocations: 206.7 kB / 271.6 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/0.02237, allocations: 40.94 kB / 271.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.02239, allocations: 46.39 kB / 271.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 2.053e-06/0.02239, allocations: 4 kB / 271.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.0008474/0.02324, allocations: 0.6939 MB / 272.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.02327, allocations: 86.11 kB / 272.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.02347, allocations: 369.8 kB / 272.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.0235, allocations: 41.73 kB / 272.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.02366, allocations: 450.8 kB / 273.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.02381, allocations: 317.3 kB / 273.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.02398, allocations: 192.5 kB / 273.8 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.02411, allocations: 0.5351 MB / 274.3 MB, free: 20 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.02425, allocations: 114.5 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.02451, allocations: 414 kB / 274.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.02496, allocations: 0.5739 MB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.02497, allocations: 4 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0006744/0.02564, allocations: 0.7218 MB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.02566, allocations: 8.719 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.02567, allocations: 8 kB / 276.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.02598, allocations: 162.6 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.02636, allocations: 199.7 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.02898, allocations: 7.535 MB / 284 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.02923, allocations: 103.2 kB / 284.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.02926, allocations: 31.98 kB / 284.2 MB, free: 5.461 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.0001505/0.02941, allocations: 216.4 kB / 284.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.02949, allocations: 71.72 kB / 284.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/0.03009, allocations: 0.6345 MB / 285.1 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.0301, allocations: 8 kB / 285.1 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.0301, allocations: 4 kB / 285.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.03011, allocations: 7.969 kB / 285.1 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.03132, allocations: 1.288 MB / 286.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03133, allocations: 0 / 286.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.03159, allocations: 139.8 kB / 286.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.03186, allocations: 134.9 kB / 286.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.03188, allocations: 20 kB / 286.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.03426, allocations: 6.984 MB / 293.6 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.03426, allocations: 8.062 kB / 293.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.035, allocations: 0.9968 MB / 294.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.03504, allocations: 59.45 kB / 294.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.03508, allocations: 23.94 kB / 294.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.03525, allocations: 23.94 kB / 294.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.03531, allocations: 64.53 kB / 294.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.03534, allocations: 20 kB / 294.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.03544, allocations: 226.9 kB / 295.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03544, allocations: 4.031 kB / 295.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005167/0.03596, allocations: 267.5 kB / 295.3 MB, free: 9.613 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.0001575/0.03612, allocations: 147 kB / 295.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007384/0.03685, allocations: 1.165 MB / 296.6 MB, free: 8.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.03686, allocations: 0 / 296.6 MB, free: 8.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.03728, allocations: 0.9082 MB / 297.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.03762, allocations: 68.95 kB / 297.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.03912, allocations: 1.34 MB / 298.9 MB, free: 5.758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.03922, allocations: 155.3 kB / 299.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000253/0.03947, allocations: 104.9 kB / 299.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.03965, allocations: 158.2 kB / 299.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03965, allocations: 0 / 299.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of Templates: time 0.009752/0.04941, allocations: 7.46 MB / 306.8 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.74567636474967]