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.0006563/0.0006563, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009245/0.001581, allocations: 449.7 kB / 10.37 MB, free: 324 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.000643/0.000643, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008294/0.001472, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9953/0.9953, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08217/1.077, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2516/0.2516, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03423/0.2859, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.002e-06/1.002e-06, allocations: 0 / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.248e-06/1.025e-05, allocations: 4.562 kB / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002206/0.002216, allocations: 2.424 MB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.00302, allocations: 0.6708 MB / 297 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.003078, allocations: 4 kB / 297 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.003125, allocations: 39.58 kB / 297 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.003206, allocations: 79.22 kB / 297.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.003321, allocations: 95.86 kB / 297.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.003519, allocations: 351.8 kB / 297.5 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.003661, allocations: 110.4 kB / 297.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.003862, allocations: 243.5 kB / 297.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.003968, allocations: 103.7 kB / 298 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.003997, allocations: 32 kB / 298 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.004052, allocations: 40 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.004083, allocations: 55.81 kB / 298.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.004145, allocations: 95.81 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.004325, allocations: 215.2 kB / 298.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.004333, allocations: 0 / 298.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.004334, allocations: 0 / 298.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.004342, allocations: 0 / 298.4 MB, free: 0.6562 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.0004666/0.004809, allocations: 0.5596 MB / 298.9 MB, free: 76 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.175e-05/0.004831, allocations: 8.922 kB / 299 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.00501, allocations: 138 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.00509, allocations: 141.4 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.00511, allocations: 25.03 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.005133, allocations: 32.38 kB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.00531, allocations: 215.2 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.005317, allocations: 192 / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.005331, allocations: 12.38 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005339, allocations: 11.94 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.005427, allocations: 76.55 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.006134, allocations: 0.6832 MB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.187e-05/0.006166, allocations: 22.52 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.006186, allocations: 16.92 kB / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.00619, allocations: 0 / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.006205, allocations: 30.56 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.006205, allocations: 0 / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 7.023e-05/0.006275, allocations: 45.62 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.006298, allocations: 59.52 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.006425, allocations: 244.7 kB / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.006434, allocations: 25.7 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.006515, allocations: 243.4 kB / 300.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.006525, allocations: 15.88 kB / 301 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.006578, allocations: 65.58 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.006653, allocations: 330.7 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.006683, allocations: 28.48 kB / 301.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.006728, allocations: 46.19 kB / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.006788, allocations: 70.16 kB / 301.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.006789, allocations: 4 kB / 301.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001064/0.006895, allocations: 125.6 kB / 301.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.006905, allocations: 11.98 kB / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.006908, allocations: 0 / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.006912, allocations: 0 / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.007065, allocations: 67.89 kB / 301.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.007068, allocations: 0 / 301.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.007148, allocations: 27.78 kB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.007155, allocations: 8 kB / 301.7 MB, free: 13.12 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 5.333e-05/0.007208, allocations: 125.8 kB / 301.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.007227, allocations: 11.98 kB / 301.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.007246, allocations: 20.64 kB / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.007247, allocations: 0 / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.007248, allocations: 0 / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-06/0.007249, allocations: 0 / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.007479, allocations: 343.4 kB / 302.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.007479, allocations: 0 / 302.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.007491, allocations: 4 kB / 302.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.007511, allocations: 15.89 kB / 302.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.007512, allocations: 4.062 kB / 302.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.007516, allocations: 4 kB / 302.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.007516, allocations: 0 / 302.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.007518, allocations: 3.938 kB / 302.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.026e-05/0.007568, allocations: 77.92 kB / 302.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.007581, allocations: 0 / 302.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.007614, allocations: 0 / 302.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.007629, allocations: 11.92 kB / 302.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/0.00763, allocations: 0 / 302.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.579e-05/0.007676, allocations: 68.73 kB / 302.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007676, allocations: 4.031 kB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.007805, allocations: 71.78 kB / 302.5 MB, free: 12.3 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 4.282e-05/0.007848, allocations: 76.41 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.064e-05/0.007928, allocations: 69.02 kB / 302.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.007936, allocations: 4 kB / 302.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.007947, allocations: 16.8 kB / 302.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.084e-05/0.008038, allocations: 34.61 kB / 302.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.008673, allocations: 395.3 kB / 303.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.008705, allocations: 75.97 kB / 303.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.567e-05/0.008761, allocations: 21.62 kB / 303.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.008823, allocations: 71.36 kB / 303.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008824, allocations: 0 / 303.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Templates: time 0.002824/0.01165, allocations: 1.736 MB / 305 MB, free: 9.785 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.723737111315131]