Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002521, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002541, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.007/1.007, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08955/1.096, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2557/0.2557, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02371/0.2794, allocations: 13.24 MB / 292.8 MB, free: 6.398 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.131e-05, allocations: 2.312 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002191/0.002202, allocations: 2.429 MB / 296.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.003072, allocations: 0.6824 MB / 297.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.003139, allocations: 4 kB / 297.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.681e-05/0.003195, allocations: 39.58 kB / 297.2 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.631e-05/0.003292, allocations: 83.2 kB / 297.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.003432, allocations: 87.86 kB / 297.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.00365, allocations: 355.8 kB / 297.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.003802, allocations: 114.5 kB / 297.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.004015, allocations: 227.5 kB / 298.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.004137, allocations: 111.7 kB / 298.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.004171, allocations: 36 kB / 298.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.689e-05/0.004238, allocations: 43.91 kB / 298.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.004274, allocations: 55.81 kB / 298.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.004338, allocations: 87.88 kB / 298.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.00454, allocations: 215.2 kB / 298.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.004548, allocations: 0 / 298.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004549, allocations: 0 / 298.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.004556, allocations: 4 kB / 298.6 MB, free: 0.5508 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.0005769/0.005133, allocations: 0.548 MB / 299.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.005166, allocations: 20.91 kB / 299.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.005371, allocations: 138 kB / 299.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.005477, allocations: 137.4 kB / 299.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.0055, allocations: 25.03 kB / 299.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.005532, allocations: 28.38 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.005757, allocations: 211.3 kB / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.005766, allocations: 192 / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.005784, allocations: 12.38 kB / 299.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.005794, allocations: 15.94 kB / 299.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-05/0.005893, allocations: 88.48 kB / 299.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007705/0.006663, allocations: 0.6753 MB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.194e-05/0.006705, allocations: 26.56 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.006726, allocations: 12.92 kB / 300.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.006733, allocations: 3.984 kB / 300.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.006754, allocations: 42.5 kB / 300.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.006755, allocations: 0 / 300.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001015/0.006856, allocations: 41.69 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.006881, allocations: 51.41 kB / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.007024, allocations: 244.7 kB / 300.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.007036, allocations: 25.7 kB / 301 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.00725, allocations: 247.4 kB / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.007274, allocations: 7.938 kB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.007365, allocations: 61.72 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.007479, allocations: 334.7 kB / 301.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.007533, allocations: 20.5 kB / 301.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.007592, allocations: 58.11 kB / 301.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.007702, allocations: 90.14 kB / 301.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.007706, allocations: 0 / 301.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001556/0.007862, allocations: 129.6 kB / 301.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.007877, allocations: 4 kB / 301.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.007884, allocations: 4 kB / 301.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.007895, allocations: 32 / 301.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.008102, allocations: 67.89 kB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.008107, allocations: 4 kB / 302 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.008213, allocations: 27.78 kB / 302 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.008222, allocations: 8 kB / 302 MB, free: 13 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 8.168e-05/0.008304, allocations: 129.7 kB / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.008323, allocations: 4 kB / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.00835, allocations: 16.64 kB / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.008354, allocations: 4 kB / 302.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.008355, allocations: 4 kB / 302.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.008358, allocations: 0 / 302.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.008671, allocations: 343.4 kB / 302.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008672, allocations: 3.938 kB / 302.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.008686, allocations: 4 kB / 302.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.008708, allocations: 15.89 kB / 302.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.00871, allocations: 0 / 302.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.008714, allocations: 0 / 302.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.008723, allocations: 4 kB / 302.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.008725, allocations: 3.938 kB / 302.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/0.008785, allocations: 70.05 kB / 302.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.008803, allocations: 12 kB / 302.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.008849, allocations: 3.984 kB / 302.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.008861, allocations: 7.875 kB / 302.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.008865, allocations: 4 kB / 302.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.555e-05/0.00892, allocations: 64.78 kB / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00892, allocations: 0 / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001613/0.009082, allocations: 71.78 kB / 302.7 MB, free: 12.18 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.605e-05/0.009158, allocations: 76.42 kB / 302.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.009267, allocations: 77.03 kB / 302.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.00928, allocations: 4 kB / 302.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.009297, allocations: 8.859 kB / 302.9 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.009561, allocations: 207.6 kB / 303.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.01069, allocations: 395.5 kB / 303.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.01075, allocations: 79.97 kB / 303.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.549e-05/0.01084, allocations: 17.62 kB / 303.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/0.01094, allocations: 71.36 kB / 303.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01094, allocations: 0 / 303.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of Templates: time 0.004484/0.01542, allocations: 1.754 MB / 305.4 MB, free: 9.438 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.725697997957468]