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.001851/0.001851, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002266/0.002266, allocations: 164.5 kB / 25.02 MB, free: 9.438 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 1.503/1.503, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.904e-06/1.904e-06, allocations: 0 / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.097e-05, allocations: 2.312 kB / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007681/0.007712, allocations: 4.658 MB / 255 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.01158, allocations: 1.647 MB / 256.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007194/0.0123, allocations: 20 kB / 256.7 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004013/0.01631, allocations: 1.392 MB / 258.1 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.01761, allocations: 321.5 kB / 258.4 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.01952, allocations: 0.6111 MB / 259 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.02151, allocations: 0.84 MB / 259.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.02322, allocations: 0.6713 MB / 260.5 MB, free: 9.707 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009742/0.02419, allocations: 0.5106 MB / 261 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.02476, allocations: 347 kB / 261.4 MB, free: 8.855 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.02488, allocations: 76 kB / 261.4 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006604/0.02554, allocations: 243.6 kB / 261.7 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.02572, allocations: 183.3 kB / 261.9 MB, free: 8.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.0261, allocations: 287.3 kB / 262.1 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.02789, allocations: 1.219 MB / 263.4 MB, free: 6.859 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.02789, allocations: 0 / 263.4 MB, free: 6.859 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.0279, allocations: 0 / 263.4 MB, free: 6.859 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.02791, allocations: 0 / 263.4 MB, free: 6.859 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.004329/0.03224, allocations: 1.378 MB / 264.7 MB, free: 5.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/0.03231, allocations: 11.98 kB / 264.8 MB, free: 5.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.03424, allocations: 439.5 kB / 265.2 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.03454, allocations: 212.6 kB / 265.4 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.03463, allocations: 66.38 kB / 265.5 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.03481, allocations: 96.38 kB / 265.6 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.03676, allocations: 0.9388 MB / 266.5 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.03679, allocations: 4.141 kB / 266.5 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.03689, allocations: 44.38 kB / 266.5 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.03692, allocations: 27.94 kB / 266.6 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.03842, allocations: 0.7806 MB / 267.3 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005568/0.04399, allocations: 2.713 MB / 270.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.04598, allocations: 0.8694 MB / 270.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.04657, allocations: 337 kB / 271.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.04668, allocations: 32.92 kB / 271.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.04672, allocations: 39.56 kB / 271.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.625e-06/0.04672, allocations: 0 / 271.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.002395/0.04912, allocations: 1.023 MB / 272.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.04919, allocations: 86.11 kB / 272.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.04964, allocations: 343.8 kB / 272.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.0497, allocations: 41.7 kB / 272.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.05001, allocations: 396.1 kB / 273.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003991/0.05041, allocations: 313.3 kB / 273.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.0507, allocations: 171 kB / 273.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.05091, allocations: 358.8 kB / 274 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.05145, allocations: 266.5 kB / 274.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007137/0.05216, allocations: 471.4 kB / 274.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.05342, allocations: 0.7706 MB / 275.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.05343, allocations: 4 kB / 275.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002027/0.05545, allocations: 1.012 MB / 276.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.05548, allocations: 10.66 kB / 276.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.0555, allocations: 7.938 kB / 276.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008393/0.05634, allocations: 163.8 kB / 276.7 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/0.05718, allocations: 203.7 kB / 276.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/0.06266, allocations: 5.609 MB / 282.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.06338, allocations: 99.19 kB / 282.6 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.06346, allocations: 40 kB / 282.6 MB, free: 2.711 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.0003921/0.06385, allocations: 225.6 kB / 282.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.06403, allocations: 79.84 kB / 282.9 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.06569, allocations: 0.8471 MB / 283.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.06571, allocations: 8 kB / 283.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.06571, allocations: 4 kB / 283.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.06572, allocations: 3.984 kB / 283.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.06874, allocations: 1.549 MB / 285.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.06875, allocations: 288 / 285.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.06938, allocations: 139.8 kB / 285.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007125/0.07009, allocations: 139.3 kB / 285.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.07014, allocations: 23.98 kB / 285.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004939/0.07508, allocations: 5.201 MB / 290.9 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.07509, allocations: 4 kB / 290.9 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.07732, allocations: 1.3 MB / 292.2 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.07745, allocations: 59.78 kB / 292.2 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.07753, allocations: 23.94 kB / 292.2 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.07793, allocations: 19.98 kB / 292.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.07807, allocations: 68.48 kB / 292.3 MB, free: 8.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.07812, allocations: 24 kB / 292.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002835/0.0784, allocations: 223.1 kB / 292.6 MB, free: 8.203 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0784, allocations: 0 / 292.6 MB, free: 8.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001122/0.07952, allocations: 267.5 kB / 292.8 MB, free: 7.941 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.0003408/0.07986, allocations: 155.2 kB / 293 MB, free: 7.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.08186, allocations: 1.14 MB / 294.1 MB, free: 6.586 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.08186, allocations: 0 / 294.1 MB, free: 6.586 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.08311, allocations: 0.7603 MB / 294.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.08374, allocations: 64.52 kB / 294.9 MB, free: 5.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.08679, allocations: 1.392 MB / 296.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.08725, allocations: 318.3 kB / 296.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004819/0.08773, allocations: 105 kB / 296.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.0879, allocations: 44.5 kB / 296.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of SimCode: time 1.673e-06/0.0879, allocations: 0 / 296.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of Templates: time 0.1258/0.2138, allocations: 6.749 MB / 303.5 MB, free: 55.8 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.797934831934981]