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.001012/0.001012, allocations: 84.98 kB / 23 MB, free: 1.504 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.001019/0.001019, allocations: 171.5 kB / 26.39 MB, free: 7.992 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.9467/0.9467, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.903e-06/1.903e-06, allocations: 3.938 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.019e-05, allocations: 6.25 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006506/0.006537, allocations: 5.029 MB / 257.3 MB, free: 2.184 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006428/0.01296, allocations: 1.671 MB / 259 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009397/0.0139, allocations: 16 kB / 259 MB, free: 492 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.01612, allocations: 1.454 MB / 260.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.01719, allocations: 333.4 kB / 260.8 MB, free: 14.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009784/0.01817, allocations: 0.6112 MB / 261.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.01918, allocations: 0.8399 MB / 262.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009208/0.0201, allocations: 0.6675 MB / 262.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006978/0.0208, allocations: 0.5183 MB / 263.4 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.02122, allocations: 355 kB / 263.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.02132, allocations: 80 kB / 263.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.02191, allocations: 247.6 kB / 264.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.02201, allocations: 187.3 kB / 264.3 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.02226, allocations: 283.3 kB / 264.5 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009294/0.02319, allocations: 0.8018 MB / 265.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.02319, allocations: 0 / 265.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02319, allocations: 0 / 265.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.02321, allocations: 0 / 265.3 MB, free: 10.1 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.002387/0.0256, allocations: 1.517 MB / 266.8 MB, free: 8.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.02564, allocations: 11.98 kB / 266.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.0267, allocations: 439.6 kB / 267.3 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.02689, allocations: 199.6 kB / 267.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.02694, allocations: 74.38 kB / 267.6 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.02707, allocations: 104.4 kB / 267.7 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000712/0.02778, allocations: 0.6629 MB / 268.3 MB, free: 7.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.02781, allocations: 12.12 kB / 268.3 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.02786, allocations: 36.38 kB / 268.4 MB, free: 6.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.02788, allocations: 27.94 kB / 268.4 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.0283, allocations: 349.4 kB / 268.7 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.03141, allocations: 2.683 MB / 271.4 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008944/0.0323, allocations: 0.7218 MB / 272.1 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.03252, allocations: 214.7 kB / 272.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.87e-05/0.03259, allocations: 28.98 kB / 272.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.03262, allocations: 42.39 kB / 272.4 MB, free: 2.785 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.03262, allocations: 0 / 272.4 MB, free: 2.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.0009735/0.0336, allocations: 0.6901 MB / 273.1 MB, free: 2.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.03363, allocations: 86.11 kB / 273.2 MB, free: 1.969 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.03385, allocations: 381.8 kB / 273.6 MB, free: 1.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.03388, allocations: 37.73 kB / 273.6 MB, free: 1.531 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.03406, allocations: 450.8 kB / 274 MB, free: 1.082 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.03422, allocations: 313.3 kB / 274.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.03438, allocations: 196.4 kB / 274.5 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.03453, allocations: 0.539 MB / 275.1 MB, free: 20 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.03468, allocations: 114.5 kB / 275.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.03495, allocations: 410.1 kB / 275.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.03542, allocations: 0.5739 MB / 276.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.03542, allocations: 0 / 276.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0007269/0.03615, allocations: 0.7257 MB / 276.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.03617, allocations: 8.719 kB / 276.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.03618, allocations: 4 kB / 276.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.03653, allocations: 162.5 kB / 277.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.03694, allocations: 199.7 kB / 277.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.04032, allocations: 7.519 MB / 284.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.04073, allocations: 99.25 kB / 284.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.04077, allocations: 35.98 kB / 284.9 MB, free: 5.484 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.000214/0.04098, allocations: 232.2 kB / 285.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.04108, allocations: 71.72 kB / 285.2 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006911/0.04177, allocations: 0.6344 MB / 285.8 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.04177, allocations: 8 kB / 285.9 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.04178, allocations: 4 kB / 285.9 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.04179, allocations: 3.984 kB / 285.9 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.04326, allocations: 1.284 MB / 287.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.04326, allocations: 4 kB / 287.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.04356, allocations: 135.8 kB / 287.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/0.04387, allocations: 142.8 kB / 287.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.0439, allocations: 20 kB / 287.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/0.0466, allocations: 6.972 MB / 294.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.04661, allocations: 12.06 kB / 294.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.04754, allocations: 0.9929 MB / 295.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.04764, allocations: 63.52 kB / 295.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.04768, allocations: 19.94 kB / 295.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.04788, allocations: 27.94 kB / 295.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.04797, allocations: 68.47 kB / 295.6 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.04799, allocations: 16 kB / 295.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.04813, allocations: 230.9 kB / 295.8 MB, free: 9.891 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04813, allocations: 4.031 kB / 295.8 MB, free: 9.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000788/0.04891, allocations: 263.5 kB / 296.1 MB, free: 9.629 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.0002252/0.04914, allocations: 151.2 kB / 296.2 MB, free: 9.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.05016, allocations: 1.154 MB / 297.4 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.05016, allocations: 4 kB / 297.4 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.05073, allocations: 0.9122 MB / 298.3 MB, free: 7.258 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.05115, allocations: 68.83 kB / 298.4 MB, free: 7.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.05301, allocations: 1.329 MB / 299.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.05314, allocations: 155.3 kB / 299.9 MB, free: 5.609 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.05344, allocations: 108.9 kB / 300 MB, free: 5.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.05364, allocations: 154.2 kB / 300.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.05364, allocations: 0 / 300.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of Templates: time 0.01126/0.0649, allocations: 7.641 MB / 307.8 MB, free: 13.75 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.924322555307299]