Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.001547/0.001547, allocations: 111.5 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001901/0.001901, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.587/1.587, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2405/0.2405, allocations: 46.93 MB / 357.8 MB, free: 10.41 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+maint.om/package.mo) 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(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_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_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 71.89 kB / 0.4921 GB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1433, allocations: 66 MB / 0.5565 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004539/0.1479, allocations: 2.382 MB / 0.5588 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1494, allocations: 0.67 MB / 0.5595 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.1496, allocations: 4 kB / 0.5595 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.1498, allocations: 43.52 kB / 0.5595 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.1501, allocations: 71.34 kB / 0.5596 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1504, allocations: 91.88 kB / 0.5597 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.1509, allocations: 339.3 kB / 0.56 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.1512, allocations: 123.3 kB / 0.5601 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.1516, allocations: 151.5 kB / 0.5603 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.1519, allocations: 151.4 kB / 0.5604 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.152, allocations: 32 kB / 0.5605 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1521, allocations: 44 kB / 0.5605 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.1522, allocations: 67.81 kB / 0.5606 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1524, allocations: 159.2 kB / 0.5607 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.1528, allocations: 386.5 kB / 0.5611 GB, free: 0.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1528, allocations: 0 / 0.5611 GB, free: 0.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1528, allocations: 0 / 0.5611 GB, free: 0.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1529, allocations: 0 / 0.5611 GB, free: 0.75 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.0009884/0.1538, allocations: 0.5769 MB / 0.5616 GB, free: 128 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1539, allocations: 15.97 kB / 0.5617 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.1542, allocations: 48.69 kB / 0.5617 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1544, allocations: 206.1 kB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1544, allocations: 25.03 kB / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.1545, allocations: 32.38 kB / 0.562 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.155, allocations: 278.4 kB / 0.5622 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.155, allocations: 0 / 0.5622 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.1551, allocations: 19.92 kB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1551, allocations: 4 kB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.1555, allocations: 214.5 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1573, allocations: 1.021 MB / 0.5634 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.1574, allocations: 34.5 kB / 0.5635 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.1574, allocations: 24.92 kB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.1574, allocations: 4 kB / 0.5635 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1575, allocations: 34.56 kB / 0.5635 GB, free: 14.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1575, allocations: 0 / 0.5635 GB, free: 14.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002187/0.1577, allocations: 77.53 kB / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.1578, allocations: 51.41 kB / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.1582, allocations: 314.9 kB / 0.564 GB, free: 13.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1582, allocations: 29.7 kB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1583, allocations: 239.6 kB / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.1583, allocations: 15.88 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.1584, allocations: 57.66 kB / 0.5643 GB, free: 13.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1586, allocations: 330.8 kB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1587, allocations: 63.97 kB / 0.5647 GB, free: 12.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1589, allocations: 89.69 kB / 0.5647 GB, free: 12.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.1591, allocations: 121.7 kB / 0.5649 GB, free: 12.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1591, allocations: 0 / 0.5649 GB, free: 12.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004341/0.1595, allocations: 245.9 kB / 0.5651 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1595, allocations: 5.875 kB / 0.5651 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1595, allocations: 3.938 kB / 0.5651 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1596, allocations: 4 kB / 0.5651 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.1599, allocations: 51.91 kB / 0.5652 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1599, allocations: 0 / 0.5652 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.1601, allocations: 43.66 kB / 0.5652 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1601, allocations: 12.03 kB / 0.5652 GB, free: 12.27 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.0001223/0.1603, allocations: 137.7 kB / 0.5653 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.1603, allocations: 19.86 kB / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.1604, allocations: 28.83 kB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1604, allocations: 0 / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1604, allocations: 0 / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1604, allocations: 0 / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.161, allocations: 0.5304 MB / 0.5659 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.161, allocations: 0 / 0.5659 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.1611, allocations: 4 kB / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1611, allocations: 0 / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1611, allocations: 0 / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1611, allocations: 0 / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1611, allocations: 4 kB / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1612, allocations: 97.89 kB / 0.566 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.1613, allocations: 104.9 kB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1613, allocations: 4 kB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1615, allocations: 0 / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.1615, allocations: 4 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1615, allocations: 4 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002629/0.1617, allocations: 221.9 kB / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1617, allocations: 0 / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000279/0.162, allocations: 67.92 kB / 0.5664 GB, free: 10.94 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.0001136/0.1621, allocations: 95.19 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1624, allocations: 99.91 kB / 0.5666 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1624, allocations: 0 / 0.5666 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/0.1624, allocations: 19.92 kB / 0.5666 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.1627, allocations: 24.81 kB / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007361/0.1634, allocations: 397.1 kB / 0.567 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1638, allocations: 0.744 MB / 0.5677 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.1639, allocations: 15.44 kB / 0.5677 GB, free: 9.484 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1639, allocations: 4 kB / 0.5678 GB, free: 9.48 MB / 430.1 MB Notification: Performance of Templates: time 0.005113/0.169, allocations: 2.739 MB / 0.5704 GB, free: 6.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.567737140983809]