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.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.001103/0.001103, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00163/0.002732, 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.001067/0.001067, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002456, 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 1.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1171/1.146, 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.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.2917/0.2917, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02888/0.3206, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.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.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.743e-06/1.743e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.995e-05, allocations: 3.297 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003133/0.003163, allocations: 2.428 MB / 293 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.004286, allocations: 0.6708 MB / 293.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.885e-05/0.004375, allocations: 4 kB / 293.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.066e-05/0.004445, allocations: 47.58 kB / 293.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.004575, allocations: 75.22 kB / 293.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.004767, allocations: 91.84 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.005022, allocations: 347.1 kB / 294.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.005238, allocations: 111.2 kB / 294.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.00555, allocations: 234.1 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.005702, allocations: 115.7 kB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.005742, allocations: 39.94 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.401e-05/0.005836, allocations: 39.98 kB / 294.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.005874, allocations: 51.81 kB / 294.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.005945, allocations: 91.81 kB / 294.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.006203, allocations: 211.2 kB / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-05/0.006221, allocations: 0 / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.006222, allocations: 0 / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.006238, allocations: 0 / 295.1 MB, free: 3.773 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.0006381/0.006876, allocations: 0.563 MB / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.006912, allocations: 8.031 kB / 295.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.007179, allocations: 142 kB / 295.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.007304, allocations: 145.4 kB / 296 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.007331, allocations: 25.03 kB / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.007359, allocations: 28.38 kB / 296 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.007598, allocations: 207.3 kB / 296.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.007608, allocations: 4.188 kB / 296.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.007624, allocations: 8.375 kB / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.007632, allocations: 11.94 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/0.00773, allocations: 84.48 kB / 296.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009421/0.008672, allocations: 0.6832 MB / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.924e-05/0.008741, allocations: 22.58 kB / 297.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.008769, allocations: 8.922 kB / 297.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.008781, allocations: 4 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.008808, allocations: 38.5 kB / 297.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.00881, allocations: 0 / 297.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001523/0.008962, allocations: 41.69 kB / 297.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.008998, allocations: 51.41 kB / 297.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.009173, allocations: 239.3 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.009186, allocations: 25.7 kB / 297.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.00931, allocations: 252.3 kB / 297.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.009322, allocations: 3.953 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.009392, allocations: 65.58 kB / 297.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.009492, allocations: 330.7 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.009529, allocations: 32.11 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.187e-05/0.009581, allocations: 54.12 kB / 298.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.009659, allocations: 65.69 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.009662, allocations: 3.938 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001315/0.009794, allocations: 126.1 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.00981, allocations: 4 kB / 298.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.009817, allocations: 3.984 kB / 298.4 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.009827, allocations: 7.984 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.01003, allocations: 67.89 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01004, allocations: 8.031 kB / 298.5 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.01013, allocations: 23.78 kB / 298.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.01014, allocations: 8 kB / 298.5 MB, free: 240 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 7.501e-05/0.01021, allocations: 121.7 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.01023, allocations: 7.984 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.01026, allocations: 20.64 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01026, allocations: 0 / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01027, allocations: 8 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01027, allocations: 0 / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.01059, allocations: 347.5 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01059, allocations: 0 / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.01061, allocations: 4 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.01063, allocations: 15.89 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01063, allocations: 0 / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.01064, allocations: 0 / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01064, allocations: 0 / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01064, allocations: 7.938 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.909e-05/0.01071, allocations: 73.92 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.01073, allocations: 96 / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.01077, allocations: 8 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.01079, allocations: 11.86 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.01079, allocations: 0 / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.514e-05/0.01086, allocations: 73.11 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01086, allocations: 0 / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000143/0.011, allocations: 71.78 kB / 299.2 MB, free: 15.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 9.841e-05/0.0111, allocations: 76.41 kB / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01122, allocations: 73.02 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.01123, allocations: 4.062 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.01125, allocations: 20.78 kB / 299.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.01141, allocations: 30.58 kB / 299.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/0.01232, allocations: 391 kB / 299.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.56e-05/0.01237, allocations: 80.09 kB / 299.9 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.08e-05/0.01245, allocations: 17.62 kB / 299.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.282e-05/0.01253, allocations: 75.36 kB / 300 MB, free: 14.58 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01254, allocations: 0 / 300 MB, free: 14.58 MB / 298.7 MB Notification: Performance of Templates: time 0.003767/0.0163, allocations: 1.728 MB / 301.7 MB, free: 12.89 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1349537344649434]