Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.001668/0.001668, allocations: 114 kB / 19.13 MB, free: 3.945 MB / 14.72 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.00192/0.00192, allocations: 200.9 kB / 22.07 MB, free: 1 MB / 14.72 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 1.471/1.471, allocations: 227.4 MB / 252.3 MB, free: 88 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 85.53 kB / 490.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 62.44 MB / 0.5403 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003802/0.1274, allocations: 2.376 MB / 0.5427 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1287, allocations: 0.6544 MB / 0.5433 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.878e-05/0.1288, allocations: 4 kB / 0.5433 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.1289, allocations: 43.59 kB / 0.5433 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1291, allocations: 71.33 kB / 0.5434 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1294, allocations: 95.81 kB / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.1298, allocations: 347.2 kB / 0.5438 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.1301, allocations: 171.2 kB / 0.544 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.1304, allocations: 139.6 kB / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.1306, allocations: 155.4 kB / 0.5443 GB, free: 216 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.1307, allocations: 35.94 kB / 0.5443 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.246e-05/0.1308, allocations: 43.94 kB / 0.5443 GB, free: 136 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.1309, allocations: 67.81 kB / 0.5444 GB, free: 68 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.131, allocations: 155.3 kB / 0.5446 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.1315, allocations: 378.4 kB / 0.5449 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1315, allocations: 0 / 0.5449 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1315, allocations: 0 / 0.5449 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1315, allocations: 4 kB / 0.5449 GB, free: 15.54 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009714/0.1325, allocations: 0.5807 MB / 0.5455 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1325, allocations: 12.03 kB / 0.5455 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.1328, allocations: 48.69 kB / 0.5455 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.1331, allocations: 213.5 kB / 0.5458 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1331, allocations: 21.03 kB / 0.5458 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.1332, allocations: 32.38 kB / 0.5458 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.1337, allocations: 278.4 kB / 0.5461 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1337, allocations: 0 / 0.5461 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.1337, allocations: 16 kB / 0.5461 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.1337, allocations: 12 kB / 0.5461 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.1342, allocations: 218.5 kB / 0.5463 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.1359, allocations: 1.013 MB / 0.5473 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.136, allocations: 26.58 kB / 0.5473 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.1361, allocations: 28.91 kB / 0.5473 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.1361, allocations: 0 / 0.5473 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1361, allocations: 34.5 kB / 0.5474 GB, free: 12.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1361, allocations: 0 / 0.5474 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002257/0.1364, allocations: 77.64 kB / 0.5475 GB, free: 12.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1364, allocations: 51.41 kB / 0.5475 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.1368, allocations: 326.8 kB / 0.5478 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1369, allocations: 25.7 kB / 0.5478 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.1371, allocations: 239.5 kB / 0.5481 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1371, allocations: 15.94 kB / 0.5481 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.1372, allocations: 53.66 kB / 0.5481 GB, free: 12.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1373, allocations: 330.8 kB / 0.5484 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1375, allocations: 64.02 kB / 0.5485 GB, free: 11.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.1376, allocations: 93.61 kB / 0.5486 GB, free: 11.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1379, allocations: 119.5 kB / 0.5487 GB, free: 11.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1379, allocations: 0 / 0.5487 GB, free: 11.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000395/0.1383, allocations: 237.5 kB / 0.5489 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1383, allocations: 7.984 kB / 0.5489 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1383, allocations: 11.91 kB / 0.549 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1383, allocations: 0 / 0.549 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.1387, allocations: 59.91 kB / 0.549 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1387, allocations: 0 / 0.549 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.1389, allocations: 43.66 kB / 0.5491 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.139, allocations: 4 kB / 0.5491 GB, free: 11.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.1391, allocations: 132.7 kB / 0.5492 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.1391, allocations: 19.86 kB / 0.5492 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.1392, allocations: 36.75 kB / 0.5492 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1392, allocations: 4 kB / 0.5492 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1392, allocations: 0 / 0.5492 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1392, allocations: 0 / 0.5492 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.1399, allocations: 0.5149 MB / 0.5497 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1399, allocations: 4 kB / 0.5498 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.14, allocations: 7.938 kB / 0.5498 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.14, allocations: 3.984 kB / 0.5498 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.14, allocations: 4.062 kB / 0.5498 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.14, allocations: 0 / 0.5498 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.14, allocations: 0 / 0.5498 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.1401, allocations: 93.84 kB / 0.5499 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.1402, allocations: 101 kB / 0.55 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.1403, allocations: 7.984 kB / 0.55 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1404, allocations: 4 kB / 0.55 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.1404, allocations: 4.031 kB / 0.55 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1404, allocations: 0 / 0.55 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002601/0.1407, allocations: 225.9 kB / 0.5502 GB, free: 9.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1407, allocations: 0 / 0.5502 GB, free: 9.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.141, allocations: 63.89 kB / 0.5502 GB, free: 9.734 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001198/0.1411, allocations: 95.23 kB / 0.5503 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.1414, allocations: 111.9 kB / 0.5504 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1414, allocations: 4.062 kB / 0.5504 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.1414, allocations: 12 kB / 0.5505 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1417, allocations: 28.75 kB / 0.5505 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007335/0.1425, allocations: 408.9 kB / 0.5509 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1429, allocations: 0.744 MB / 0.5516 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.143, allocations: 23.42 kB / 0.5516 GB, free: 8.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.143, allocations: 4 kB / 0.5516 GB, free: 8.246 MB / 414.1 MB Notification: Performance of Templates: time 0.005244/0.1482, allocations: 2.712 MB / 0.5543 GB, free: 5.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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: 7.451084995060228]