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.001082/0.001082, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.004527/0.004527, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.036/1.036, allocations: 177 MB / 205.2 MB, free: 5.047 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.2669/0.2669, allocations: 34.86 MB / 296.6 MB, free: 452 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.783e-06/1.783e-06, allocations: 0 / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.276e-05, allocations: 2.312 kB / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004804/0.004837, allocations: 2.435 MB / 328.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.005953, allocations: 0.663 MB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.006058, allocations: 4 kB / 329.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.028e-05/0.006149, allocations: 43.58 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.006339, allocations: 71.28 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.006629, allocations: 95.84 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.006919, allocations: 351.8 kB / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.007124, allocations: 114.4 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.00747, allocations: 215.6 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.007641, allocations: 119.7 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.00768, allocations: 32 kB / 330.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.402e-05/0.007774, allocations: 36 kB / 330.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.007826, allocations: 67.8 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.007923, allocations: 115.7 kB / 330.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.008212, allocations: 243.1 kB / 330.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.008217, allocations: 0 / 330.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.008219, allocations: 0 / 330.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.008226, allocations: 0 / 330.5 MB, free: 2.523 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.0006238/0.00885, allocations: 0.4937 MB / 331 MB, free: 2.008 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.008889, allocations: 8.031 kB / 331 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.009121, allocations: 64.89 kB / 331.1 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.009259, allocations: 153.4 kB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.009285, allocations: 21.03 kB / 331.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.009313, allocations: 36.31 kB / 331.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.009554, allocations: 207.3 kB / 331.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.009566, allocations: 192 / 331.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.009585, allocations: 16.38 kB / 331.5 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.009597, allocations: 11.94 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.00971, allocations: 80.55 kB / 331.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.0108, allocations: 0.6723 MB / 332.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.6e-05/0.01085, allocations: 22.56 kB / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.01088, allocations: 12.92 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.01088, allocations: 0 / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.01092, allocations: 34.56 kB / 332.3 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.01092, allocations: 4 kB / 332.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000143/0.01106, allocations: 49.61 kB / 332.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.01109, allocations: 51.41 kB / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.01126, allocations: 244.3 kB / 332.7 MB, free: 244 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.01127, allocations: 25.7 kB / 332.7 MB, free: 212 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01139, allocations: 239.4 kB / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.0114, allocations: 11.95 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.01147, allocations: 61.58 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.01156, allocations: 330.7 kB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/0.01159, allocations: 20.48 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-05/0.01164, allocations: 54.31 kB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.345e-05/0.01173, allocations: 74.08 kB / 333.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.01173, allocations: 0 / 333.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001437/0.01187, allocations: 129.6 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.01189, allocations: 4 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.0119, allocations: 0 / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.01191, allocations: 0 / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.01211, allocations: 67.89 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.01211, allocations: 4.031 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.01221, allocations: 35.72 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.01222, allocations: 4 kB / 333.7 MB, free: 15.16 MB / 314.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.58e-05/0.01231, allocations: 117.7 kB / 333.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.01234, allocations: 11.98 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.01237, allocations: 20.64 kB / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.01237, allocations: 0 / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01237, allocations: 0 / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01238, allocations: 0 / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.01267, allocations: 343.6 kB / 334.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01268, allocations: 0 / 334.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.01269, allocations: 8 kB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01269, allocations: 4 kB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.0127, allocations: 0 / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.0127, allocations: 3.984 kB / 334.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0127, allocations: 0 / 334.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.855e-05/0.01277, allocations: 77.86 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.01279, allocations: 11.91 kB / 334.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.01281, allocations: 3.984 kB / 334.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.01285, allocations: 11.98 kB / 334.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.01287, allocations: 7.938 kB / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.01287, allocations: 0 / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.425e-05/0.01293, allocations: 73.81 kB / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01293, allocations: 0 / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.01308, allocations: 71.84 kB / 334.5 MB, free: 14.34 MB / 314.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 9.925e-05/0.01318, allocations: 72.36 kB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01331, allocations: 84.94 kB / 334.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.01332, allocations: 4 kB / 334.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.01333, allocations: 12.92 kB / 334.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.01347, allocations: 18.36 kB / 334.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.01393, allocations: 367.3 kB / 335 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.01397, allocations: 76.09 kB / 335.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.702e-05/0.01404, allocations: 17.64 kB / 335.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.01412, allocations: 75.34 kB / 335.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01412, allocations: 0 / 335.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003693/0.01781, allocations: 1.694 MB / 336.9 MB, free: 11.89 MB / 314.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 -s gbode -gbm=radauIIA3 -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: 2.9658184880390763]