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.001776/0.001776, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002152/0.002152, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2398/0.2398, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.002023/0.002023, allocations: 59.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.301, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003787/0.3048, allocations: 2.226 MB / 0.564 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.306, allocations: 0.6389 MB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.3061, allocations: 8 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.615e-05/0.3061, allocations: 35.59 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.3063, allocations: 75.27 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.3066, allocations: 91.88 kB / 0.5648 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.3069, allocations: 339.2 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.3072, allocations: 127.6 kB / 0.5653 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.3074, allocations: 147.5 kB / 0.5654 GB, free: 496 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.3076, allocations: 155.4 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.3077, allocations: 32 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-05/0.3078, allocations: 36 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.3078, allocations: 75.75 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.308, allocations: 131.4 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.3085, allocations: 384.9 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3085, allocations: 0 / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3085, allocations: 4 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3085, allocations: 0 / 0.5662 GB, free: 15.69 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.0009945/0.3095, allocations: 0.5016 MB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3095, allocations: 12.03 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.3098, allocations: 48.69 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.31, allocations: 150.1 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.3101, allocations: 21.03 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.3101, allocations: 36.36 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.3106, allocations: 278.4 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3107, allocations: 4 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.3107, allocations: 8 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3107, allocations: 8 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.3111, allocations: 218.5 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.3128, allocations: 0.8502 MB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.762e-05/0.3129, allocations: 34.56 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.638e-05/0.313, allocations: 28.86 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.313, allocations: 4 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.313, allocations: 30.56 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.313, allocations: 0 / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002205/0.3132, allocations: 73.53 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.3133, allocations: 55.41 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.3136, allocations: 259.7 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3136, allocations: 25.7 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.3138, allocations: 255.3 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.3138, allocations: 7.953 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3139, allocations: 61.78 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3141, allocations: 326.8 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.3142, allocations: 67.86 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.3144, allocations: 89.67 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.3146, allocations: 122.2 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3146, allocations: 0 / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003958/0.315, allocations: 229.5 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.315, allocations: 4 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.315, allocations: 8.031 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.315, allocations: 3.938 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.3153, allocations: 59.91 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3153, allocations: 7.938 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.3155, allocations: 35.72 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3156, allocations: 4 kB / 0.57 GB, free: 11.61 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.0001274/0.3157, allocations: 137.8 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.3157, allocations: 19.89 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.3158, allocations: 16.64 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3158, allocations: 3.938 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3158, allocations: 4 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3158, allocations: 0 / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.3163, allocations: 423.1 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3163, allocations: 0 / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.3164, allocations: 11.94 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3164, allocations: 0 / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3164, allocations: 0 / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3164, allocations: 0 / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3164, allocations: 4 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.3165, allocations: 93.95 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.3166, allocations: 23.83 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.3166, allocations: 0 / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3167, allocations: 4 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.3167, allocations: 3.938 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.3167, allocations: 0 / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.3169, allocations: 180.6 kB / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3169, allocations: 0 / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.3172, allocations: 75.78 kB / 0.5709 GB, free: 10.56 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.0001112/0.3173, allocations: 95.28 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.3176, allocations: 103.9 kB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.3176, allocations: 4 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.136e-05/0.3176, allocations: 4 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.318, allocations: 28.48 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.3187, allocations: 375.7 kB / 0.5715 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.3188, allocations: 129.8 kB / 0.5716 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.602e-05/0.3189, allocations: 21.62 kB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.319, allocations: 15.44 kB / 0.5717 GB, free: 9.738 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.319, allocations: 4 kB / 0.5717 GB, free: 9.734 MB / 414.1 MB Notification: Performance of Templates: time 0.005045/0.324, allocations: 1.93 MB / 0.5735 GB, free: 7.836 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 -s gbode -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: 4.987347747999593]