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.001022/0.001022, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.000913/0.000913, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2791/0.2791, allocations: 32.8 MB / 294.6 MB, free: 1.242 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 2.284e-06/2.284e-06, allocations: 0 / 323.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.234e-05, allocations: 4.422 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004471/0.004504, allocations: 2.41 MB / 325.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.006087, allocations: 0.6776 MB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.006224, allocations: 8 kB / 326.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.996e-05/0.006324, allocations: 39.58 kB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.006578, allocations: 79.2 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.006909, allocations: 83.88 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.00729, allocations: 359.6 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.007547, allocations: 111.2 kB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.007935, allocations: 223.5 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.008143, allocations: 115.7 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.008195, allocations: 32 kB / 327.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.008296, allocations: 36 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.008354, allocations: 75.73 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.00846, allocations: 107.8 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.008795, allocations: 239.2 kB / 327.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.008802, allocations: 3.984 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.008803, allocations: 0 / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.008812, allocations: 4 kB / 327.8 MB, free: 5.094 MB / 298.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.00074/0.009551, allocations: 0.4935 MB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.009593, allocations: 8.031 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.009896, allocations: 68.88 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.01003, allocations: 145.4 kB / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.01006, allocations: 25.03 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.01008, allocations: 32.31 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.0103, allocations: 211.3 kB / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.01031, allocations: 192 / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.01032, allocations: 8.375 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.01033, allocations: 11.94 kB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.01044, allocations: 84.48 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008394/0.01128, allocations: 0.6755 MB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.91e-05/0.01133, allocations: 30.5 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.01135, allocations: 8.922 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.01136, allocations: 4 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.01138, allocations: 34.56 kB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.01138, allocations: 0 / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001179/0.0115, allocations: 41.69 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.01152, allocations: 51.41 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.01166, allocations: 242.2 kB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.01167, allocations: 25.7 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.01176, allocations: 244.3 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.652e-06/0.01177, allocations: 7.938 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.01183, allocations: 69.52 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.01191, allocations: 330.9 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.01194, allocations: 27.98 kB / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.01199, allocations: 54.17 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.982e-05/0.01206, allocations: 61.67 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01206, allocations: 0 / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001322/0.01219, allocations: 130.1 kB / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01221, allocations: 4 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01221, allocations: 3.984 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01223, allocations: 4 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.01241, allocations: 68.55 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01242, allocations: 4 kB / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-05/0.01251, allocations: 31.7 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.01252, allocations: 8 kB / 331 MB, free: 1.719 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 7.144e-05/0.01259, allocations: 121.7 kB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.01261, allocations: 7.984 kB / 331.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.01264, allocations: 20.59 kB / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01264, allocations: 0 / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.01264, allocations: 4 kB / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01264, allocations: 0 / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.01291, allocations: 343.6 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01292, allocations: 0 / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.01293, allocations: 4 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01293, allocations: 4 kB / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.01294, allocations: 0 / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.01294, allocations: 0 / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01294, allocations: 0 / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.669e-05/0.01301, allocations: 85.84 kB / 331.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.01303, allocations: 15.89 kB / 331.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.01304, allocations: 4.094 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.01309, allocations: 4 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.0131, allocations: 3.938 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.0131, allocations: 0 / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.454e-05/0.01315, allocations: 74.19 kB / 331.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01315, allocations: 0 / 331.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.01331, allocations: 67.84 kB / 331.8 MB, free: 0.9023 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.79e-05/0.01338, allocations: 76.36 kB / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.01349, allocations: 81 kB / 331.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.0135, allocations: 4.062 kB / 331.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.01351, allocations: 16.78 kB / 332 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.01365, allocations: 16.45 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.0141, allocations: 371.2 kB / 332.3 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.63e-05/0.01416, allocations: 71.98 kB / 332.4 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.186e-05/0.01423, allocations: 21.62 kB / 332.4 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.0143, allocations: 71.36 kB / 332.5 MB, free: 120 kB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0143, allocations: 0 / 332.5 MB, free: 120 kB / 298.7 MB Notification: Performance of Templates: time 0.003798/0.0181, allocations: 1.69 MB / 334.2 MB, free: 14.46 MB / 314.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 -s gbode -gbm=radauIIA3 -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: 2.887539165094495]