Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009028/0.0009028, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001001/0.001001, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9435/0.9435, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.2e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004071/0.004083, allocations: 5.068 MB / 278.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.006134, allocations: 1.693 MB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.006492, allocations: 20 kB / 280.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.008064, allocations: 1.462 MB / 281.6 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.008603, allocations: 337.4 kB / 282 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.009344, allocations: 0.6073 MB / 282.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006386/0.009982, allocations: 0.836 MB / 283.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007157/0.0107, allocations: 0.6752 MB / 284.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.01112, allocations: 0.5105 MB / 284.6 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.01141, allocations: 355 kB / 284.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.012e-05/0.01148, allocations: 76 kB / 285 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.01189, allocations: 255.6 kB / 285.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.01198, allocations: 175.3 kB / 285.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.01217, allocations: 291.3 kB / 285.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006518/0.01282, allocations: 0.8056 MB / 286.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.01282, allocations: 4 kB / 286.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01282, allocations: 4 kB / 286.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.01283, allocations: 0 / 286.5 MB, free: 4.098 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.002068/0.01489, allocations: 1.525 MB / 288.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.01493, allocations: 12.03 kB / 288.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.01637, allocations: 419.6 kB / 288.5 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.01656, allocations: 208.2 kB / 288.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.01663, allocations: 74.38 kB / 288.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.01673, allocations: 96.38 kB / 288.9 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.01739, allocations: 0.6668 MB / 289.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.01741, allocations: 12.08 kB / 289.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.01746, allocations: 40.38 kB / 289.6 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.01747, allocations: 31.92 kB / 289.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.01788, allocations: 354 kB / 289.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09646/0.1143, allocations: 2.702 MB / 292.6 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008661/0.1152, allocations: 0.7246 MB / 293.4 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.1154, allocations: 209 kB / 293.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.621e-05/0.1155, allocations: 53.25 kB / 293.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1155, allocations: 47.88 kB / 293.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.846e-06/0.1155, allocations: 0.5469 kB / 293.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0009617/0.1165, allocations: 0.7029 MB / 294.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.1165, allocations: 87.23 kB / 294.5 MB, free: 17.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1167, allocations: 372.5 kB / 294.8 MB, free: 17.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1167, allocations: 42 kB / 294.9 MB, free: 17.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1169, allocations: 452.7 kB / 295.3 MB, free: 17.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.117, allocations: 316.2 kB / 295.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.1172, allocations: 194.3 kB / 295.8 MB, free: 17.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.1172, allocations: 0.5413 MB / 296.4 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.1174, allocations: 118.3 kB / 296.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.1176, allocations: 413.3 kB / 296.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.118, allocations: 0.5826 MB / 297.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.118, allocations: 3.016 kB / 297.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0007468/0.1188, allocations: 0.7298 MB / 298.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1188, allocations: 10.25 kB / 298.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1188, allocations: 6.594 kB / 298.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.1192, allocations: 162.9 kB / 298.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.1196, allocations: 206.1 kB / 298.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.1212, allocations: 7.536 MB / 306.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.1215, allocations: 95.17 kB / 306.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.1216, allocations: 31.53 kB / 306.2 MB, free: 8.574 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.0001377/0.1217, allocations: 219.5 kB / 306.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.1218, allocations: 85.83 kB / 306.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/0.1224, allocations: 0.6267 MB / 307.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.1224, allocations: 9.438 kB / 307.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1224, allocations: 2.672 kB / 307.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1224, allocations: 11.28 kB / 307.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1237, allocations: 1.315 MB / 308.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1237, allocations: 2.75 kB / 308.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.124, allocations: 137.9 kB / 308.6 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.1242, allocations: 142.9 kB / 308.8 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.1243, allocations: 21.8 kB / 308.8 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.1257, allocations: 6.982 MB / 315.8 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1257, allocations: 4 kB / 315.8 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.1264, allocations: 1.006 MB / 316.8 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.1264, allocations: 67.88 kB / 316.8 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.1265, allocations: 16.56 kB / 316.9 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.1266, allocations: 22.34 kB / 316.9 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.1267, allocations: 69.48 kB / 316.9 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1267, allocations: 22.67 kB / 317 MB, free: 344 kB / 266.7 MB Notification: Performance of sorting global known variables: time 9.498e-05/0.1268, allocations: 221.9 kB / 317.2 MB, free: 220 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1268, allocations: 3.172 kB / 317.2 MB, free: 220 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006174/0.1275, allocations: 280.5 kB / 317.5 MB, free: 176 kB / 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.0001634/0.1276, allocations: 151.1 kB / 317.6 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008059/0.1284, allocations: 1.163 MB / 318.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1284, allocations: 0 / 318.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.1288, allocations: 0.9132 MB / 319.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1292, allocations: 66.66 kB / 319.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1307, allocations: 1.299 MB / 321.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.959e-05/0.1308, allocations: 153.7 kB / 321.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.1311, allocations: 106.3 kB / 321.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.1312, allocations: 157.1 kB / 321.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1312, allocations: 1.188 kB / 321.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of Templates: time 0.01008/0.1413, allocations: 7.749 MB / 329.2 MB, free: 8.035 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8686151863075793]