Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001283/0.001283, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001402/0.001402, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.533/1.533, allocations: 230.2 MB / 255.1 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2349/0.2349, allocations: 46.88 MB / 358.1 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 81.41 kB / 0.4924 GB, free: 26.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1278, allocations: 65.98 MB / 0.5568 GB, free: 8.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004267/0.1321, allocations: 2.381 MB / 0.5591 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1334, allocations: 0.6623 MB / 0.5598 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.15e-05/0.1334, allocations: 4 kB / 0.5598 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.1335, allocations: 39.59 kB / 0.5598 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1337, allocations: 71.33 kB / 0.5599 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.134, allocations: 95.81 kB / 0.56 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.1344, allocations: 347.2 kB / 0.5603 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.1347, allocations: 127.2 kB / 0.5604 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.135, allocations: 139.6 kB / 0.5606 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1352, allocations: 151.4 kB / 0.5607 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.1353, allocations: 47.86 kB / 0.5607 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.1354, allocations: 36 kB / 0.5608 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.1355, allocations: 71.81 kB / 0.5608 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1356, allocations: 151.3 kB / 0.561 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.1361, allocations: 382.5 kB / 0.5614 GB, free: 3.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1361, allocations: 0 / 0.5614 GB, free: 3.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1361, allocations: 4 kB / 0.5614 GB, free: 3.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1361, allocations: 0 / 0.5614 GB, free: 3.953 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.001047/0.1372, allocations: 0.5847 MB / 0.5619 GB, free: 3.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1372, allocations: 8.031 kB / 0.5619 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.1375, allocations: 48.69 kB / 0.562 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1377, allocations: 213.5 kB / 0.5622 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.1378, allocations: 21.03 kB / 0.5622 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.1378, allocations: 32.38 kB / 0.5622 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.1384, allocations: 278.4 kB / 0.5625 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1384, allocations: 0 / 0.5625 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.1384, allocations: 12 kB / 0.5625 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/0.1385, allocations: 12 kB / 0.5625 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.1389, allocations: 214.5 kB / 0.5627 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.1406, allocations: 1.021 MB / 0.5637 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/0.1407, allocations: 26.58 kB / 0.5638 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.1408, allocations: 24.91 kB / 0.5638 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1408, allocations: 4 kB / 0.5638 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.1409, allocations: 34.5 kB / 0.5638 GB, free: 1.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.1409, allocations: 0 / 0.5638 GB, free: 1.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.1412, allocations: 77.55 kB / 0.5639 GB, free: 1.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1412, allocations: 51.41 kB / 0.5639 GB, free: 1.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.1416, allocations: 322.8 kB / 0.5642 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1416, allocations: 25.7 kB / 0.5643 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1418, allocations: 243.5 kB / 0.5645 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.1418, allocations: 7.938 kB / 0.5645 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1419, allocations: 57.66 kB / 0.5646 GB, free: 464 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1421, allocations: 334.9 kB / 0.5649 GB, free: 120 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1422, allocations: 59.98 kB / 0.5649 GB, free: 60 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.1424, allocations: 93.69 kB / 0.565 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.1426, allocations: 123.5 kB / 0.5651 GB, free: 15.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1426, allocations: 0 / 0.5651 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004138/0.143, allocations: 233.5 kB / 0.5654 GB, free: 15.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.143, allocations: 4 kB / 0.5654 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1431, allocations: 15.95 kB / 0.5654 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1431, allocations: 0 / 0.5654 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.1434, allocations: 51.91 kB / 0.5654 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1434, allocations: 7.938 kB / 0.5654 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.1436, allocations: 39.66 kB / 0.5655 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.1437, allocations: 12 kB / 0.5655 GB, free: 15.47 MB / 430.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.0001373/0.1438, allocations: 125.8 kB / 0.5656 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.1438, allocations: 23.8 kB / 0.5656 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.1439, allocations: 36.83 kB / 0.5657 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1439, allocations: 0 / 0.5657 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1439, allocations: 0 / 0.5657 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1439, allocations: 0 / 0.5657 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.1446, allocations: 0.5148 MB / 0.5662 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1446, allocations: 0 / 0.5662 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.1446, allocations: 11.94 kB / 0.5662 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1446, allocations: 0 / 0.5662 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1447, allocations: 8.062 kB / 0.5662 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1447, allocations: 3.984 kB / 0.5662 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1447, allocations: 3.984 kB / 0.5662 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.1448, allocations: 89.84 kB / 0.5663 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.145, allocations: 105 kB / 0.5664 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.145, allocations: 0 / 0.5664 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1452, allocations: 8.016 kB / 0.5664 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.1452, allocations: 4 kB / 0.5664 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1452, allocations: 4 kB / 0.5664 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00027/0.1455, allocations: 221.9 kB / 0.5666 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1455, allocations: 0 / 0.5666 GB, free: 14.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1457, allocations: 63.89 kB / 0.5667 GB, free: 14.14 MB / 430.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.0001105/0.1459, allocations: 99.23 kB / 0.5668 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1461, allocations: 99.91 kB / 0.5669 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1461, allocations: 0 / 0.5669 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.1462, allocations: 12 kB / 0.5669 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1465, allocations: 24.81 kB / 0.5669 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.1473, allocations: 396.9 kB / 0.5673 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1477, allocations: 0.744 MB / 0.568 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.1477, allocations: 23.42 kB / 0.568 GB, free: 12.69 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1477, allocations: 0 / 0.568 GB, free: 12.69 MB / 430.1 MB Notification: Performance of Templates: time 0.005286/0.153, allocations: 2.739 MB / 0.5707 GB, free: 9.957 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.470873507903889]