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.0009422/0.0009422, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001048/0.001048, allocations: 168.7 kB / 24.91 MB, free: 9.203 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.9681/0.9681, allocations: 177.1 MB / 205.3 MB, free: 5.148 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.323e-06/1.323e-06, allocations: 0 / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.206e-05, allocations: 2.312 kB / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004447/0.004469, allocations: 5.121 MB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.00717, allocations: 1.762 MB / 280.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.007444, allocations: 20 kB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.009022, allocations: 1.493 MB / 281.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005842/0.009606, allocations: 333.3 kB / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007855/0.01039, allocations: 0.619 MB / 282.8 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006273/0.01102, allocations: 0.8399 MB / 283.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007074/0.01173, allocations: 0.6968 MB / 284.4 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.01223, allocations: 0.5144 MB / 284.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.01257, allocations: 367 kB / 285.2 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.975e-05/0.01264, allocations: 76 kB / 285.3 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.01314, allocations: 267.5 kB / 285.6 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.474e-05/0.01323, allocations: 179.3 kB / 285.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.01358, allocations: 291.3 kB / 286 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008323/0.01441, allocations: 0.8056 MB / 286.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.01441, allocations: 4 kB / 286.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01442, allocations: 4 kB / 286.9 MB, free: 3.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.01443, allocations: 0 / 286.9 MB, free: 3.68 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.002379/0.0168, allocations: 1.424 MB / 288.3 MB, free: 2.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.01684, allocations: 12.03 kB / 288.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.01797, allocations: 440 kB / 288.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.01814, allocations: 205.3 kB / 288.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.01819, allocations: 78.31 kB / 289 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.01829, allocations: 96.38 kB / 289.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.01894, allocations: 0.6612 MB / 289.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.01897, allocations: 8.125 kB / 289.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.01901, allocations: 44.36 kB / 289.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.01903, allocations: 27.94 kB / 289.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.01937, allocations: 286.2 kB / 290.1 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1076/0.127, allocations: 2.195 MB / 292.3 MB, free: 18.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008717/0.1279, allocations: 0.6555 MB / 293 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.1281, allocations: 181.7 kB / 293.1 MB, free: 18.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.428e-05/0.1282, allocations: 40.34 kB / 293.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1282, allocations: 41.12 kB / 293.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.126e-06/0.1282, allocations: 1.75 kB / 293.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0009107/0.1291, allocations: 0.5641 MB / 293.8 MB, free: 18.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.1291, allocations: 88.72 kB / 293.9 MB, free: 18.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1293, allocations: 302.2 kB / 294.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1294, allocations: 41.33 kB / 294.2 MB, free: 18.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1295, allocations: 385.7 kB / 294.6 MB, free: 18.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.1297, allocations: 318 kB / 294.9 MB, free: 18.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.1298, allocations: 179.3 kB / 295.1 MB, free: 18.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.1299, allocations: 360.7 kB / 295.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.13, allocations: 99.83 kB / 295.5 MB, free: 17.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.1302, allocations: 312.8 kB / 295.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.1307, allocations: 0.4964 MB / 296.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.1307, allocations: 3.156 kB / 296.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0006744/0.1314, allocations: 0.5645 MB / 296.9 MB, free: 17.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1314, allocations: 7.812 kB / 296.9 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1314, allocations: 5.781 kB / 296.9 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.1318, allocations: 141.8 kB / 297 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.1323, allocations: 220.7 kB / 297.3 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.1341, allocations: 5.109 MB / 302.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.1344, allocations: 98.11 kB / 302.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.1344, allocations: 33.91 kB / 302.5 MB, free: 12.38 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.0001821/0.1346, allocations: 169.9 kB / 302.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/0.1347, allocations: 67.39 kB / 302.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006138/0.1353, allocations: 0.5042 MB / 303.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1353, allocations: 8.672 kB / 303.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1353, allocations: 3.312 kB / 303.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1353, allocations: 4.266 kB / 303.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.1366, allocations: 0.9712 MB / 304.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1366, allocations: 3.75 kB / 304.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.1369, allocations: 144.5 kB / 304.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.1372, allocations: 134 kB / 304.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.1373, allocations: 19.95 kB / 304.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.1385, allocations: 4.76 MB / 309.3 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1386, allocations: 6.406 kB / 309.3 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.1392, allocations: 0.7559 MB / 310 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.1393, allocations: 53.73 kB / 310.1 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.1393, allocations: 21.59 kB / 310.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.1395, allocations: 19.55 kB / 310.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.1396, allocations: 73.02 kB / 310.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1396, allocations: 16.61 kB / 310.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.1397, allocations: 107 kB / 310.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1397, allocations: 0 / 310.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007178/0.1404, allocations: 273.4 kB / 310.6 MB, free: 6.832 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.0001985/0.1406, allocations: 145.7 kB / 310.7 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007208/0.1413, allocations: 0.8811 MB / 311.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.1413, allocations: 7.469 kB / 311.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.1416, allocations: 0.6824 MB / 312.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1419, allocations: 55.19 kB / 312.4 MB, free: 5.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1433, allocations: 1.264 MB / 313.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.888e-05/0.1434, allocations: 153 kB / 313.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.1437, allocations: 100.2 kB / 313.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.1438, allocations: 132.2 kB / 314 MB, free: 4.992 MB / 266.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1438, allocations: 0 / 314 MB, free: 4.992 MB / 266.7 MB Notification: Performance of Templates: time 0.009269/0.1531, allocations: 7.749 MB / 321.7 MB, free: 15.96 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 -s gbode -gbm=radauIIA3 -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.8339858390390873]