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.001606/0.001606, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001801/0.001801, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.526/1.526, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2476/0.2476, allocations: 46.96 MB / 361.6 MB, free: 4.066 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.002079/0.002079, allocations: 68.05 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4327, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.006937/0.4396, allocations: 2.234 MB / 0.564 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.4419, allocations: 0.6351 MB / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.4421, allocations: 4 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.4423, allocations: 35.59 kB / 0.5647 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.4426, allocations: 75.31 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.4432, allocations: 95.81 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007236/0.4439, allocations: 343.2 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.4443, allocations: 111.5 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.4447, allocations: 147.5 kB / 0.5654 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.4451, allocations: 131.4 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.172e-05/0.4452, allocations: 35.94 kB / 0.5656 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.4453, allocations: 36 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.4454, allocations: 67.81 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.4457, allocations: 139.4 kB / 0.5658 GB, free: 124 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007903/0.4465, allocations: 380.9 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4465, allocations: 0 / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4465, allocations: 3.938 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.4465, allocations: 0 / 0.5661 GB, free: 15.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.001554/0.4481, allocations: 0.5094 MB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.4481, allocations: 8.031 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.4487, allocations: 52.69 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.449, allocations: 142.1 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.449, allocations: 33.02 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.097e-05/0.4491, allocations: 28.38 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.45, allocations: 278.4 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.45, allocations: 4 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.4501, allocations: 15.94 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4501, allocations: 8 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.4508, allocations: 210.5 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.4539, allocations: 0.8619 MB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.454, allocations: 30.56 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.4541, allocations: 24.92 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.4541, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.4542, allocations: 30.56 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/0.4542, allocations: 0 / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000348/0.4545, allocations: 73.48 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.4546, allocations: 55.39 kB / 0.5684 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.4552, allocations: 267.8 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.4552, allocations: 25.7 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.4555, allocations: 251.3 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.4555, allocations: 11.95 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.4557, allocations: 53.66 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.456, allocations: 330.8 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.4563, allocations: 59.98 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.4565, allocations: 89.67 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.4569, allocations: 122.1 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.457, allocations: 4 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007653/0.4577, allocations: 225.6 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.4578, allocations: 11.98 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4578, allocations: 7.875 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.4578, allocations: 3.938 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.4583, allocations: 47.97 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4583, allocations: 4 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.4588, allocations: 35.72 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.4588, allocations: 12 kB / 0.5699 GB, free: 11.68 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.000237/0.459, allocations: 133.8 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.4591, allocations: 15.91 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.709e-05/0.4592, allocations: 20.64 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.4592, allocations: 3.938 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4592, allocations: 0 / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4592, allocations: 0 / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.4603, allocations: 423.1 kB / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4603, allocations: 0 / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.4603, allocations: 15.88 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4603, allocations: 0 / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4604, allocations: 4.062 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4604, allocations: 4 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.4604, allocations: 3.938 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.4606, allocations: 93.89 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.4607, allocations: 23.83 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.4607, allocations: 4 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4609, allocations: 0 / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.4609, allocations: 0 / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.461, allocations: 4 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000397/0.4613, allocations: 180.6 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4613, allocations: 4.031 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005438/0.4619, allocations: 71.78 kB / 0.5709 GB, free: 10.62 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.0001444/0.462, allocations: 91.25 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.4625, allocations: 107.8 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4625, allocations: 0 / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/0.4626, allocations: 8 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.4631, allocations: 28.53 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.4643, allocations: 401.4 kB / 0.5715 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.4646, allocations: 137.8 kB / 0.5716 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.4647, allocations: 15.44 kB / 0.5716 GB, free: 9.777 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4647, allocations: 4 kB / 0.5717 GB, free: 9.773 MB / 414.1 MB Notification: Performance of Templates: time 0.009379/0.4741, allocations: 2.636 MB / 0.5742 GB, free: 7.145 MB / 414.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.628768737893552]