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.00173/0.00173, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002043/0.002043, allocations: 204.7 kB / 24.48 MB, free: 3.969 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.623/1.623, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.257/0.257, allocations: 46.97 MB / 361.6 MB, free: 4.082 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.002064/0.002064, allocations: 63.91 kB / 0.4973 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3162, allocations: 66.03 MB / 0.5618 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003859/0.32, allocations: 2.234 MB / 0.564 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3212, allocations: 0.6273 MB / 0.5646 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.3213, allocations: 8 kB / 0.5646 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.246e-05/0.3214, allocations: 47.58 kB / 0.5647 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.3216, allocations: 71.28 kB / 0.5647 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3219, allocations: 95.8 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.3222, allocations: 339.2 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.3225, allocations: 119.6 kB / 0.5653 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.3227, allocations: 151.5 kB / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.3229, allocations: 163.4 kB / 0.5656 GB, free: 380 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.323, allocations: 32 kB / 0.5656 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.871e-05/0.3231, allocations: 40 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.3231, allocations: 63.83 kB / 0.5657 GB, free: 244 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3233, allocations: 135.4 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.3237, allocations: 384.8 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3237, allocations: 0 / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3237, allocations: 0 / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3237, allocations: 0 / 0.5662 GB, free: 15.73 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.00097/0.3247, allocations: 0.5055 MB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3248, allocations: 8.031 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.3251, allocations: 52.62 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3252, allocations: 150.1 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.3253, allocations: 25.03 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.3253, allocations: 28.38 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.3259, allocations: 282.4 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3259, allocations: 3.938 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.3259, allocations: 16 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.3259, allocations: 8 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.3263, allocations: 214.5 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.328, allocations: 0.8503 MB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/0.328, allocations: 30.58 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.3281, allocations: 24.86 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.3281, allocations: 0 / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3281, allocations: 38.56 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3281, allocations: 4 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001966/0.3283, allocations: 69.53 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3284, allocations: 51.41 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.3287, allocations: 267.7 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3287, allocations: 25.7 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3289, allocations: 247.3 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.3289, allocations: 11.95 kB / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.329, allocations: 57.64 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3292, allocations: 326.8 kB / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3293, allocations: 63.97 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3295, allocations: 93.75 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.3297, allocations: 118.2 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3297, allocations: 0 / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004058/0.3301, allocations: 233.5 kB / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3301, allocations: 7.938 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3301, allocations: 0 / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3301, allocations: 4 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.3304, allocations: 59.83 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.3304, allocations: 8.031 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.3307, allocations: 31.73 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3307, allocations: 8 kB / 0.57 GB, free: 11.66 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.0001271/0.3308, allocations: 133.8 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.3309, allocations: 11.91 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.3309, allocations: 24.64 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3309, allocations: 3.938 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3309, allocations: 0 / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.3309, allocations: 15.89 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.331, allocations: 4 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3311, allocations: 11.94 kB / 0.5702 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.3311, allocations: 7.984 kB / 0.5702 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002056/0.3313, allocations: 133 kB / 0.5703 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001878/0.3315, allocations: 238.6 kB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.917e-05/0.3315, allocations: 8 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.3317, allocations: 180.6 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of Backend: time 3.2e-07/0.3317, allocations: 0 / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005107/0.3323, allocations: 170.2 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of SimCode: time 0.0009459/0.3332, allocations: 0.8207 MB / 0.5717 GB, free: 9.832 MB / 414.1 MB Notification: Performance of Templates: time 0.006432/0.3396, allocations: 2.839 MB / 0.5744 GB, free: 7.023 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: 5.248748019999766]