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.001297/0.001297, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001908/0.003205, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00115/0.00115, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001669/0.002819, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.074/1.074, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1212/1.196, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2945/0.2945, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02744/0.322, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 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 1.503e-06/1.503e-06, allocations: 0 / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.46e-05, allocations: 6.141 kB / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003089/0.003104, allocations: 2.432 MB / 295.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.004147, allocations: 0.6706 MB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.004229, allocations: 4 kB / 295.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.598e-05/0.004305, allocations: 39.59 kB / 296 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.004437, allocations: 79.2 kB / 296.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.004628, allocations: 91.84 kB / 296.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.004932, allocations: 351.1 kB / 296.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.005153, allocations: 118.4 kB / 296.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.005469, allocations: 227.5 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.00564, allocations: 115.7 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.005682, allocations: 32 kB / 297 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.005773, allocations: 36 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.005823, allocations: 55.81 kB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.855e-05/0.005912, allocations: 91.81 kB / 297.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.006184, allocations: 219.2 kB / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.006195, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006196, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.006204, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 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.0006996/0.006904, allocations: 0.5518 MB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.006941, allocations: 12.03 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.007213, allocations: 146 kB / 298.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.007335, allocations: 141.4 kB / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.007361, allocations: 21.03 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.007396, allocations: 32.38 kB / 298.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.00766, allocations: 207.2 kB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.00767, allocations: 192 / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.007694, allocations: 16.38 kB / 298.5 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.007704, allocations: 11.94 kB / 298.5 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.007835, allocations: 88.52 kB / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.008861, allocations: 0.6754 MB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.543e-05/0.008916, allocations: 30.5 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.008939, allocations: 8.922 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.008946, allocations: 0 / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.008968, allocations: 34.56 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.008969, allocations: 4 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001171/0.009086, allocations: 45.69 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.009115, allocations: 59.33 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.009291, allocations: 231.7 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.0093, allocations: 25.7 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.009411, allocations: 248.3 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.009422, allocations: 11.95 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.009496, allocations: 65.52 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.009588, allocations: 334.7 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.009626, allocations: 20.61 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.009685, allocations: 58.19 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.0098, allocations: 89.62 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009803, allocations: 0 / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001738/0.009976, allocations: 130.1 kB / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.009989, allocations: 4 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009993, allocations: 0 / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.01, allocations: 4 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.01022, allocations: 67.89 kB / 300.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01023, allocations: 8.031 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.01035, allocations: 31.77 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.01036, allocations: 4 kB / 300.7 MB, free: 14.09 MB / 298.7 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 7.355e-05/0.01043, allocations: 121.7 kB / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.01046, allocations: 11.98 kB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.01049, allocations: 12.66 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01049, allocations: 4 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01049, allocations: 4 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.0105, allocations: 0 / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.01083, allocations: 347.5 kB / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01083, allocations: 0 / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.01085, allocations: 4 kB / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.01088, allocations: 15.89 kB / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01088, allocations: 0 / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.01088, allocations: 0 / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01088, allocations: 0 / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.01089, allocations: 7.938 kB / 301.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.8e-05/0.01095, allocations: 73.91 kB / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.01097, allocations: 0 / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.003e-05/0.01102, allocations: 8.094 kB / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.01104, allocations: 3.938 kB / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.01104, allocations: 0 / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.01112, allocations: 78.17 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01112, allocations: 3.938 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.01132, allocations: 75.73 kB / 301.5 MB, free: 13.27 MB / 298.7 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 6.661e-05/0.01139, allocations: 72.42 kB / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01151, allocations: 80.94 kB / 301.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/0.01152, allocations: 4 kB / 301.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-05/0.01155, allocations: 16.94 kB / 301.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.01177, allocations: 200.2 kB / 301.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.01265, allocations: 395.2 kB / 302.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.551e-05/0.0127, allocations: 79.98 kB / 302.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.896e-05/0.01278, allocations: 17.62 kB / 302.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.01286, allocations: 71.36 kB / 302.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01286, allocations: 0 / 302.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of Templates: time 0.00394/0.0168, allocations: 1.753 MB / 304.2 MB, free: 10.53 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.034716820344329]