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.0009419/0.0009419, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001122/0.001122, allocations: 161.3 kB / 24.99 MB, free: 9.273 MB / 18.57 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.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.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.2723/0.2723, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.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.793e-06/1.793e-06, allocations: 0 / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.555e-05, allocations: 5.688 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002654/0.002679, allocations: 2.399 MB / 378.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.00375, allocations: 0.6622 MB / 379.1 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.003845, allocations: 4 kB / 379.1 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.935e-05/0.003914, allocations: 39.58 kB / 379.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.004063, allocations: 75.22 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.004333, allocations: 87.86 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.004601, allocations: 363 kB / 379.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.004808, allocations: 99.84 kB / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.005084, allocations: 219.5 kB / 379.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.005222, allocations: 115.7 kB / 380 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.005256, allocations: 32 kB / 380.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.024e-05/0.005316, allocations: 36 kB / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.005354, allocations: 67.8 kB / 380.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.00543, allocations: 119.7 kB / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.005655, allocations: 239.1 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.005658, allocations: 4 kB / 380.5 MB, free: 452 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005659, allocations: 0 / 380.5 MB, free: 452 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.005663, allocations: 0 / 380.5 MB, free: 452 kB / 346.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.0007286/0.006392, allocations: 0.6093 MB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.006427, allocations: 12.02 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.006608, allocations: 72.73 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.006737, allocations: 156.1 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.006763, allocations: 25.03 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.006793, allocations: 28.38 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.007072, allocations: 223.3 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.007082, allocations: 192 / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.007106, allocations: 16.38 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.007119, allocations: 15.88 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.007298, allocations: 127.8 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.008321, allocations: 0.8616 MB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.797e-05/0.008379, allocations: 35 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.008414, allocations: 19.75 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.008421, allocations: 0 / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.008441, allocations: 33.39 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.008442, allocations: 0 / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.008604, allocations: 57.59 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.008634, allocations: 51.41 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.008838, allocations: 301.5 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.008851, allocations: 29.7 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.008975, allocations: 294.1 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.008984, allocations: 11.89 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.009049, allocations: 67.42 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.009161, allocations: 0.4923 MB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.009221, allocations: 39.97 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.0093, allocations: 71.84 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.009404, allocations: 79.36 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009406, allocations: 4 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002104/0.009616, allocations: 186 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.009632, allocations: 8 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.009637, allocations: 0 / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.009651, allocations: 4.031 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.009808, allocations: 63.83 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.009815, allocations: 0 / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.00992, allocations: 43.66 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.009929, allocations: 4 kB / 384.5 MB, free: 12.21 MB / 362.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.273e-05/0.01001, allocations: 168.5 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.01004, allocations: 19.91 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.01006, allocations: 16.64 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01006, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01007, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01007, allocations: 7.938 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.01045, allocations: 0.5116 MB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01045, allocations: 3.938 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.01047, allocations: 4 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.01047, allocations: 0 / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01048, allocations: 0 / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01048, allocations: 7.938 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01049, allocations: 0 / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.935e-05/0.01056, allocations: 95.97 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.01059, allocations: 23.98 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.01061, allocations: 0 / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.466e-05/0.01065, allocations: 11.94 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.01067, allocations: 0 / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.01067, allocations: 0 / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.01078, allocations: 200.5 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01078, allocations: 0 / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.01096, allocations: 75.78 kB / 385.7 MB, free: 10.99 MB / 362.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.849e-05/0.01104, allocations: 95.23 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.0112, allocations: 91.58 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.0112, allocations: 0 / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.01122, allocations: 15.62 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.0114, allocations: 18.56 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.0119, allocations: 379.1 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.01194, allocations: 71.98 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.478e-05/0.012, allocations: 21.62 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.01204, allocations: 20.48 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01204, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003609/0.01565, allocations: 1.591 MB / 387.9 MB, free: 8.652 MB / 362.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 -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.143302229931578]