Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006947/0.0006947, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009847/0.001679, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006096/0.0006096, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009021/0.001512, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9162/0.9162, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1691/1.085, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1501/0.1501, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02049/0.1706, allocations: 12.53 MB / 284.5 MB, free: 9.707 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.262e-05, allocations: 2.312 kB / 285.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003775/0.003797, allocations: 2.425 MB / 288.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.004961, allocations: 0.6349 MB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.005066, allocations: 4 kB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.906e-05/0.005166, allocations: 39.58 kB / 288.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.005283, allocations: 75.27 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.005434, allocations: 95.75 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.005664, allocations: 351.1 kB / 289.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.005837, allocations: 110.5 kB / 289.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.006077, allocations: 219.6 kB / 289.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.006227, allocations: 115.7 kB / 289.9 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.006266, allocations: 36 kB / 289.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.523e-05/0.006301, allocations: 32 kB / 290 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.006342, allocations: 51.81 kB / 290 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.006408, allocations: 95.88 kB / 290.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.006608, allocations: 211.2 kB / 290.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.006618, allocations: 0 / 290.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006619, allocations: 0 / 290.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.006628, allocations: 0 / 290.3 MB, free: 3.922 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.0005965/0.007225, allocations: 0.5583 MB / 290.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.007256, allocations: 12.03 kB / 290.9 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.007313, allocations: 44.91 kB / 290.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.00742, allocations: 137.4 kB / 291.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.007442, allocations: 28.97 kB / 291.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.007469, allocations: 28.38 kB / 291.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.007677, allocations: 211.3 kB / 291.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007687, allocations: 192 / 291.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.007703, allocations: 16.38 kB / 291.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.007711, allocations: 11.94 kB / 291.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.323e-05/0.007805, allocations: 80.55 kB / 291.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008421/0.008647, allocations: 0.6754 MB / 292.1 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.529e-05/0.008692, allocations: 30.58 kB / 292.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.008713, allocations: 16.91 kB / 292.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.008721, allocations: 3.984 kB / 292.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.008741, allocations: 34.56 kB / 292.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.008743, allocations: 0 / 292.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001057/0.008848, allocations: 45.62 kB / 292.2 MB, free: 1.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.008872, allocations: 51.41 kB / 292.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.00901, allocations: 239.3 kB / 292.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.009018, allocations: 25.7 kB / 292.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.009113, allocations: 251.5 kB / 292.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-06/0.009121, allocations: 7.953 kB / 292.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.009175, allocations: 57.64 kB / 292.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.009249, allocations: 334.7 kB / 293.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.009278, allocations: 20 kB / 293.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.009321, allocations: 49.67 kB / 293.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.939e-05/0.00941, allocations: 98.06 kB / 293.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009412, allocations: 0 / 293.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001244/0.009537, allocations: 129.6 kB / 293.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.009548, allocations: 11.97 kB / 293.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.009552, allocations: 0 / 293.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.009565, allocations: 4 kB / 293.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.009742, allocations: 63.91 kB / 293.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.009747, allocations: 4 kB / 293.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.131e-05/0.009838, allocations: 27.78 kB / 293.6 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.009847, allocations: 8 kB / 293.6 MB, free: 484 kB / 282.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.363e-05/0.00991, allocations: 121.7 kB / 293.7 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.009927, allocations: 11.92 kB / 293.7 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.009952, allocations: 20.64 kB / 293.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009953, allocations: 0 / 293.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.009954, allocations: 0 / 293.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.009957, allocations: 4 kB / 293.7 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.01024, allocations: 339.5 kB / 294.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01024, allocations: 0 / 294.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/0.01025, allocations: 4 kB / 294.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.01027, allocations: 15.89 kB / 294.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01027, allocations: 0 / 294.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-06/0.01028, allocations: 0 / 294.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01028, allocations: 8 kB / 294.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01028, allocations: 7.938 kB / 294.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.591e-05/0.01034, allocations: 69.98 kB / 294.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.01035, allocations: 0 / 294.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.01039, allocations: 7.984 kB / 294.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.0104, allocations: 3.938 kB / 294.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.0104, allocations: 0 / 294.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.463e-05/0.01046, allocations: 77.09 kB / 294.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01046, allocations: 0 / 294.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.0106, allocations: 75.73 kB / 294.3 MB, free: 15.65 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.853e-05/0.01067, allocations: 80.39 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.01078, allocations: 68.75 kB / 294.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.01079, allocations: 4 kB / 294.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.01081, allocations: 12.86 kB / 294.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.011, allocations: 211.6 kB / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.01175, allocations: 398.6 kB / 295.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.01179, allocations: 79.97 kB / 295.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.501e-05/0.01185, allocations: 17.62 kB / 295.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.01193, allocations: 71.36 kB / 295.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01193, allocations: 0 / 295.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of Templates: time 0.003424/0.01536, allocations: 1.747 MB / 297 MB, free: 12.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.80903163459152]