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.001309/0.001309, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001521/0.001521, allocations: 167.3 kB / 24.91 MB, free: 8.762 MB / 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 0.8936/0.8936, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] 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 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.437e-05, allocations: 5.266 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004073/0.004087, allocations: 5.081 MB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.00622, allocations: 1.77 MB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.006409, allocations: 16 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.007879, allocations: 1.505 MB / 281.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.008407, allocations: 341.4 kB / 282.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.009121, allocations: 0.6228 MB / 282.7 MB, free: 7.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.009671, allocations: 0.8321 MB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.01032, allocations: 0.7085 MB / 284.3 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.0107, allocations: 0.5145 MB / 284.8 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.01099, allocations: 363 kB / 285.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.444e-05/0.01105, allocations: 80 kB / 285.2 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.01135, allocations: 251.6 kB / 285.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.01149, allocations: 183.3 kB / 285.6 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.01166, allocations: 287.3 kB / 285.9 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.01226, allocations: 0.8134 MB / 286.7 MB, free: 3.668 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.01226, allocations: 0 / 286.7 MB, free: 3.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01226, allocations: 0 / 286.7 MB, free: 3.668 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.01227, allocations: 0 / 286.7 MB, free: 3.668 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.001863/0.01413, allocations: 1.435 MB / 288.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.01416, allocations: 15.98 kB / 288.2 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009393/0.0151, allocations: 436 kB / 288.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.01521, allocations: 204.6 kB / 288.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.01525, allocations: 74.38 kB / 288.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.503e-05/0.01534, allocations: 96.38 kB / 289 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.01588, allocations: 0.6612 MB / 289.6 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.0159, allocations: 12.08 kB / 289.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.01594, allocations: 40.38 kB / 289.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.01596, allocations: 27.94 kB / 289.7 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.01627, allocations: 289.5 kB / 290 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09535/0.1116, allocations: 2.195 MB / 292.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.1124, allocations: 0.6521 MB / 292.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1126, allocations: 182.2 kB / 293 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.733e-05/0.1127, allocations: 39.12 kB / 293.1 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1127, allocations: 44.38 kB / 293.1 MB, free: 18.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.425e-06/0.1127, allocations: 0 / 293.1 MB, free: 18.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0008402/0.1135, allocations: 0.5603 MB / 293.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.1136, allocations: 89 kB / 293.7 MB, free: 18.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1137, allocations: 301.3 kB / 294 MB, free: 18.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1138, allocations: 42.3 kB / 294.1 MB, free: 18.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1139, allocations: 387.2 kB / 294.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.114, allocations: 320 kB / 294.8 MB, free: 18.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.1142, allocations: 173.5 kB / 294.9 MB, free: 18.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.117e-05/0.1142, allocations: 361.6 kB / 295.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1143, allocations: 98.59 kB / 295.4 MB, free: 17.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1145, allocations: 316.6 kB / 295.7 MB, free: 17.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.1149, allocations: 0.4961 MB / 296.2 MB, free: 17.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.1149, allocations: 1.438 kB / 296.2 MB, free: 17.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.000642/0.1156, allocations: 0.5649 MB / 296.8 MB, free: 17.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1156, allocations: 11.25 kB / 296.8 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1156, allocations: 5.75 kB / 296.8 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/0.1159, allocations: 143.2 kB / 296.9 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.1163, allocations: 200.3 kB / 297.1 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.1178, allocations: 5.107 MB / 302.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.1181, allocations: 97.05 kB / 302.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.1181, allocations: 35.75 kB / 302.3 MB, free: 12.31 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.0001269/0.1182, allocations: 166.6 kB / 302.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.1183, allocations: 60.28 kB / 302.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/0.1188, allocations: 0.5083 MB / 303.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1188, allocations: 9.922 kB / 303.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1189, allocations: 2.984 kB / 303.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.1189, allocations: 9.234 kB / 303.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.12, allocations: 0.9657 MB / 304.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.12, allocations: 2.75 kB / 304.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.1202, allocations: 134.8 kB / 304.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.1205, allocations: 143.8 kB / 304.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.1205, allocations: 18.97 kB / 304.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.1216, allocations: 4.745 MB / 309.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1216, allocations: 7.359 kB / 309.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.1222, allocations: 0.7507 MB / 309.9 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.1222, allocations: 54.92 kB / 309.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.1223, allocations: 19.14 kB / 309.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.1224, allocations: 24.19 kB / 310 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.1225, allocations: 74.67 kB / 310 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1225, allocations: 16.22 kB / 310 MB, free: 6.812 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.012e-05/0.1226, allocations: 106.2 kB / 310.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1226, allocations: 1.094 kB / 310.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005828/0.1232, allocations: 274 kB / 310.4 MB, free: 6.77 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.0001696/0.1234, allocations: 142.1 kB / 310.6 MB, free: 6.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006239/0.124, allocations: 0.8878 MB / 311.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.124, allocations: 6.406 kB / 311.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.1243, allocations: 0.676 MB / 312.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.1246, allocations: 57.44 kB / 312.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1259, allocations: 1.261 MB / 313.4 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.111e-05/0.1259, allocations: 151.7 kB / 313.6 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.1262, allocations: 101.7 kB / 313.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1263, allocations: 139.4 kB / 313.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1263, allocations: 0 / 313.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of Templates: time 0.008761/0.1351, allocations: 7.732 MB / 321.6 MB, free: 15.99 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","",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.7825732929632068]