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.001918/0.001918, allocations: 114.9 kB / 18.45 MB, free: 4.617 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.002401/0.002401, allocations: 202.6 kB / 21.4 MB, free: 1.668 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.58/1.58, allocations: 227.4 MB / 251.6 MB, free: 68 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.2373/0.2373, allocations: 46.17 MB / 351.1 MB, free: 14.26 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.002902/0.002902, allocations: 81.31 kB / 490.2 MB, free: 27.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1334, allocations: 62.44 MB / 0.5397 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004639/0.1381, allocations: 2.38 MB / 0.542 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1396, allocations: 0.6545 MB / 0.5426 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1397, allocations: 4 kB / 0.5426 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1399, allocations: 47.52 kB / 0.5427 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1401, allocations: 67.34 kB / 0.5427 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1405, allocations: 95.81 kB / 0.5428 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.141, allocations: 347.3 kB / 0.5432 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.1414, allocations: 171.2 kB / 0.5433 GB, free: 464 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.1417, allocations: 147.5 kB / 0.5435 GB, free: 316 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.142, allocations: 155.4 kB / 0.5436 GB, free: 160 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.1421, allocations: 32 kB / 0.5436 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1422, allocations: 36 kB / 0.5437 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.1423, allocations: 67.81 kB / 0.5437 GB, free: 24 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.1425, allocations: 159.4 kB / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.143, allocations: 378.5 kB / 0.5443 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.143, allocations: 0 / 0.5443 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.143, allocations: 0 / 0.5443 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.143, allocations: 8 kB / 0.5443 GB, free: 15.48 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.001067/0.1441, allocations: 0.5758 MB / 0.5448 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.1442, allocations: 12.03 kB / 0.5448 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000325/0.1445, allocations: 56.69 kB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1447, allocations: 201.2 kB / 0.5451 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.1448, allocations: 21.03 kB / 0.5451 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.1448, allocations: 36.38 kB / 0.5451 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.1454, allocations: 282.3 kB / 0.5454 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1454, allocations: 4 kB / 0.5454 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.1454, allocations: 8 kB / 0.5454 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.1455, allocations: 12 kB / 0.5454 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.1459, allocations: 210.5 kB / 0.5456 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.1476, allocations: 1.025 MB / 0.5466 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.1477, allocations: 30.52 kB / 0.5467 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.1478, allocations: 24.92 kB / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.1478, allocations: 0 / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1478, allocations: 34.56 kB / 0.5467 GB, free: 12.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1479, allocations: 0 / 0.5467 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.00024/0.1481, allocations: 81.62 kB / 0.5468 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.1482, allocations: 55.34 kB / 0.5469 GB, free: 12.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.1486, allocations: 318.9 kB / 0.5472 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1486, allocations: 29.7 kB / 0.5472 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.1488, allocations: 239.4 kB / 0.5474 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.1488, allocations: 11.95 kB / 0.5474 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.772e-05/0.1489, allocations: 53.66 kB / 0.5475 GB, free: 11.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1491, allocations: 330.8 kB / 0.5478 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1492, allocations: 68 kB / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.1494, allocations: 85.69 kB / 0.5479 GB, free: 11.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.1497, allocations: 131.4 kB / 0.5481 GB, free: 11.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1497, allocations: 0 / 0.5481 GB, free: 11.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004029/0.1501, allocations: 233.5 kB / 0.5483 GB, free: 11.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1501, allocations: 6.031 kB / 0.5483 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1501, allocations: 7.969 kB / 0.5483 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1501, allocations: 4 kB / 0.5483 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.1505, allocations: 59.89 kB / 0.5484 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1505, allocations: 0 / 0.5484 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.1507, allocations: 39.67 kB / 0.5484 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.1507, allocations: 8 kB / 0.5484 GB, free: 11.01 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.0001302/0.1509, allocations: 133.8 kB / 0.5485 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.1509, allocations: 19.86 kB / 0.5486 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.151, allocations: 24.83 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.151, allocations: 4 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.151, allocations: 0 / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.151, allocations: 3.984 kB / 0.5486 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.1517, allocations: 0.5186 MB / 0.5491 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1517, allocations: 4 kB / 0.5491 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.1517, allocations: 4 kB / 0.5491 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1517, allocations: 0 / 0.5491 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1517, allocations: 4.062 kB / 0.5491 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1517, allocations: 0 / 0.5491 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1517, allocations: 4 kB / 0.5491 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.1519, allocations: 97.77 kB / 0.5492 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.152, allocations: 109 kB / 0.5493 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.152, allocations: 0 / 0.5493 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1521, allocations: 0 / 0.5493 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.1522, allocations: 4.031 kB / 0.5493 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1522, allocations: 4 kB / 0.5493 GB, free: 9.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.1524, allocations: 221.9 kB / 0.5495 GB, free: 9.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1524, allocations: 0 / 0.5495 GB, free: 9.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1527, allocations: 63.89 kB / 0.5496 GB, free: 9.691 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.0001225/0.1528, allocations: 91.25 kB / 0.5497 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1531, allocations: 115.9 kB / 0.5498 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1531, allocations: 8.062 kB / 0.5498 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.469e-05/0.1532, allocations: 11.94 kB / 0.5498 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1535, allocations: 24.77 kB / 0.5498 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.1542, allocations: 379.2 kB / 0.5502 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.1546, allocations: 0.7362 MB / 0.5509 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.1547, allocations: 25.94 kB / 0.5509 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.1548, allocations: 15.44 kB / 0.5509 GB, free: 8.234 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1548, allocations: 4 kB / 0.5509 GB, free: 8.23 MB / 414.1 MB Notification: Performance of Templates: time 0.005032/0.1598, allocations: 1.787 MB / 0.5527 GB, free: 6.457 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.07919645216316]