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.0007644/0.0007644, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001852, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007/0.0007, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008812/0.001581, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9762/0.9762, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09248/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2606/0.2606, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02731/0.2879, allocations: 13.1 MB / 291.3 MB, free: 7.375 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 2.615e-06/2.615e-06, allocations: 0 / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.403e-05/3.665e-05, allocations: 3.188 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002789/0.002826, allocations: 2.425 MB / 295 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.003547, allocations: 0.6745 MB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.003618, allocations: 7.938 kB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.084e-05/0.003679, allocations: 35.59 kB / 295.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.003778, allocations: 75.27 kB / 295.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.003927, allocations: 91.86 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.004171, allocations: 355.5 kB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.004369, allocations: 110.5 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.004624, allocations: 231.5 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.004756, allocations: 111.7 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.004792, allocations: 36 kB / 296.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.00487, allocations: 36 kB / 296.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.004905, allocations: 55.81 kB / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.00497, allocations: 87.88 kB / 296.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.005186, allocations: 219.2 kB / 297.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.0052, allocations: 0 / 297.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005201, allocations: 0 / 297.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.005215, allocations: 0 / 297.1 MB, free: 1.762 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.0006306/0.005845, allocations: 0.5596 MB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.005882, allocations: 12.03 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.006104, allocations: 138 kB / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.006211, allocations: 137.4 kB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.006234, allocations: 25.03 kB / 298 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.006262, allocations: 36.3 kB / 298 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.006479, allocations: 211.2 kB / 298.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.006489, allocations: 192 / 298.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.006506, allocations: 16.38 kB / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.006518, allocations: 11.94 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.006615, allocations: 80.55 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/0.007465, allocations: 0.6871 MB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.494e-05/0.00752, allocations: 22.58 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.00754, allocations: 8.922 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.007547, allocations: 0 / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.007568, allocations: 38.56 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.007569, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001085/0.007678, allocations: 45.62 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.007707, allocations: 51.41 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.007861, allocations: 239.7 kB / 299.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.007871, allocations: 25.7 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.007975, allocations: 248.4 kB / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.007985, allocations: 11.94 kB / 299.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.008043, allocations: 57.59 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.00813, allocations: 338.7 kB / 300.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.008159, allocations: 16.5 kB / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.008207, allocations: 62.17 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.839e-05/0.008276, allocations: 65.62 kB / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008278, allocations: 4 kB / 300.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000119/0.008397, allocations: 122.1 kB / 300.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.008409, allocations: 8.031 kB / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.008415, allocations: 4 kB / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.008424, allocations: 4 kB / 300.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.008616, allocations: 63.89 kB / 300.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.008621, allocations: 7.984 kB / 300.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.008701, allocations: 27.78 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.00871, allocations: 8 kB / 300.5 MB, free: 14.23 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 6.175e-05/0.008772, allocations: 117.7 kB / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.00879, allocations: 11.98 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.008816, allocations: 20.64 kB / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008818, allocations: 3.938 kB / 300.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.00882, allocations: 0 / 300.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.008823, allocations: 4 kB / 300.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.009086, allocations: 343.5 kB / 301 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.009087, allocations: 0 / 301 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.009101, allocations: 4 kB / 301 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.009121, allocations: 11.91 kB / 301 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.009124, allocations: 0 / 301 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.009129, allocations: 3.984 kB / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00913, allocations: 4.062 kB / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.009132, allocations: 3.938 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.995e-05/0.009192, allocations: 77.92 kB / 301.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.009207, allocations: 4 kB / 301.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.009246, allocations: 4 kB / 301.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.009258, allocations: 7.922 kB / 301.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.009261, allocations: 0 / 301.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.14e-05/0.009312, allocations: 70.19 kB / 301.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009312, allocations: 0 / 301.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001659/0.009478, allocations: 75.73 kB / 301.2 MB, free: 13.41 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 7.619e-05/0.009554, allocations: 84.44 kB / 301.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.009655, allocations: 72.95 kB / 301.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.009666, allocations: 4 kB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-06/0.009674, allocations: 4.859 kB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.009817, allocations: 41.47 kB / 301.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007353/0.01055, allocations: 395.2 kB / 301.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.01059, allocations: 75.97 kB / 301.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.276e-05/0.01066, allocations: 17.64 kB / 301.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.01073, allocations: 71.36 kB / 302 MB, free: 12.58 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01073, allocations: 0 / 302 MB, free: 12.58 MB / 298.7 MB Notification: Performance of Templates: time 0.00344/0.01417, allocations: 1.742 MB / 303.7 MB, free: 10.88 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.805492333136499]