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.0009635/0.0009635, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001739/0.001739, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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.003/1.003, allocations: 177 MB / 204.8 MB, free: 5.254 MB / 186.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.2617/0.2617, allocations: 34.86 MB / 296.3 MB, free: 432 kB / 266.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.252e-06/1.252e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.256e-05, allocations: 8.422 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002548/0.002571, allocations: 2.407 MB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003623, allocations: 0.6582 MB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.003707, allocations: 4 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.256e-05/0.003779, allocations: 43.58 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.003927, allocations: 75.27 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.004194, allocations: 91.8 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.004438, allocations: 351 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.004641, allocations: 111.8 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.004922, allocations: 215.6 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.005064, allocations: 107.7 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.0051, allocations: 35.94 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.69e-05/0.005167, allocations: 39.98 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.005206, allocations: 67.81 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.00528, allocations: 111.7 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.00552, allocations: 247.1 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005522, allocations: 0 / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005523, allocations: 0 / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.005528, allocations: 4 kB / 383.3 MB, free: 13.5 MB / 362.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.000592/0.00612, allocations: 0.6092 MB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.006157, allocations: 12.03 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.006354, allocations: 72.73 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.006479, allocations: 156.1 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.006502, allocations: 21.03 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.006535, allocations: 32.38 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.006813, allocations: 223.3 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.006824, allocations: 192 / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.006844, allocations: 12.38 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.006855, allocations: 11.94 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.007042, allocations: 123.8 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.008124, allocations: 0.8772 MB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.597e-05/0.00818, allocations: 31.05 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.008215, allocations: 11.75 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.008224, allocations: 8 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.008245, allocations: 33.39 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.794e-06/0.008247, allocations: 0 / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001467/0.008394, allocations: 57.55 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.008417, allocations: 55.39 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.008609, allocations: 299.7 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.008619, allocations: 25.7 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.008732, allocations: 298.1 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.008741, allocations: 7.953 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.008805, allocations: 59.31 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.008913, allocations: 0.5041 MB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.008975, allocations: 31.98 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.848e-05/0.009053, allocations: 79.83 kB / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.009156, allocations: 83.31 kB / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009159, allocations: 0 / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002128/0.009371, allocations: 182 kB / 387.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.009386, allocations: 8 kB / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.009392, allocations: 3.938 kB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.009408, allocations: 0 / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.009572, allocations: 51.97 kB / 387.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.009577, allocations: 4.031 kB / 387.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.009687, allocations: 39.66 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.009697, allocations: 12 kB / 387.3 MB, free: 9.281 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 7.996e-05/0.009777, allocations: 164.5 kB / 387.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.009802, allocations: 11.91 kB / 387.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.009832, allocations: 28.62 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.009834, allocations: 0 / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.009839, allocations: 0 / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.009843, allocations: 3.938 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.01026, allocations: 0.5077 MB / 388 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01026, allocations: 0 / 388 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.01028, allocations: 7.938 kB / 388 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01028, allocations: 0 / 388 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.01028, allocations: 0 / 388 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01029, allocations: 3.938 kB / 388 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01029, allocations: 7.938 kB / 388 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.207e-05/0.01037, allocations: 96.03 kB / 388.1 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.0104, allocations: 23.83 kB / 388.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.01041, allocations: 96 / 388.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.01046, allocations: 11.94 kB / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.01047, allocations: 0 / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.01047, allocations: 0 / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.01058, allocations: 203.4 kB / 388.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01058, allocations: 0 / 388.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.01076, allocations: 67.84 kB / 388.4 MB, free: 8.07 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 6.145e-05/0.01082, allocations: 91.25 kB / 388.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.01097, allocations: 91.77 kB / 388.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01097, allocations: 0 / 388.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.01098, allocations: 15.75 kB / 388.6 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.01115, allocations: 28.67 kB / 388.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.0116, allocations: 374.9 kB / 389 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.01164, allocations: 80.12 kB / 389.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.163e-05/0.0117, allocations: 17.62 kB / 389.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.01174, allocations: 20.5 kB / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01174, allocations: 0 / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of Templates: time 0.003336/0.01508, allocations: 1.595 MB / 390.7 MB, free: 5.719 MB / 362.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 -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: 3.285836305934936]